4-
|
Write a program which accept temperature in
Farenheit and print it in centigrade.
#include<iostream.h>
#include<conio.h>
int main() { float F,C; cout<< "\nEnter temperature in Farenheit : "; cin>>F; C=5*(F-32)/9; cout<<"Temperature in celcius is : "<<C;
getch(); return 0; } |
No comments:
Post a Comment