My issue
Celsius-25.5
Kelvin-298.5
Wrong Answer: Failed on a hidden test case
My code
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
// your code goes here
float temperature=25.5;
float Kelvin = temperature+273;
cout<<fixed<< setprecision(1);
cout<<"Celsius-"<<temperature<<endl;
cout<<"Kelvin-"<<Kelvin<<endl;
}
Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/PROGC01/problems/LCPPAS30