#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float cs,fh;
cout<<"Enter the temp in Celsius :";
cin>>cs;
fh=(9/5)*c+32;
cout<<"Temperature in Fahrenheit = "<<fh;
getch();
}
Here you can find sample and simple c++ programs that are helpful for computer science students
No comments:
Post a Comment