Fundamentals of Programming
Followers
Saturday, March 5, 2011
PROGRAMMING EXERCISE 1
#include<iostream.h>
main()
{
float celcius,farenheit;
cout<<"enter celcius=";
cin>>celcius;
farenheit=9/5*(celcius+32);
cout<<"celcius="<<celcius;
cout<<"farenheit="<<farenheit;
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment