My issue
include
using namespace std;
int main() {
// your code goes here
double temperature=25.5;
double kel=temperature+273.0;
cout<<“Celsius-”<<temperature<<endl;
cout<<“Kelvin-”<<kel<<endl;
return 0;
}
whats the error here
My code
#include <iostream>
using namespace std;
int main() {
// your code goes here
double temperature=25.5;
double kel=temperature+273.0;
cout<<"Celsius-"<<temperature<<endl;
cout<<"Kelvin-"<<kel<<endl;
return 0;
}
Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/PROGC01/problems/LCPPAS30