Website Design United States, Website Design California, Website Designing United States, Website Designing California

Temperature(F-C) - C++

Another simple code for working out temperatures from degrees Farenheit to degrees Celcius. Also a command line based program.

#include <stdio.h>

int main()
{
float t, e;

printf("Please input temperature in F: \n");
scanf("%f", &t);

e = (t - 32) * (5.0 / 9.0);

printf("%f = (%f - 32) * (5.0 / 9.0\n", e, t);
return 0;
}

WEB DESIGN INDIA
42 B Malviya Nagar , New Delhi-110017

Skype: manmeetsi
Email: support.webdesignindia@gmail.com
Tel: 91-011-40502005, 9810067295

 















 


© 2008-2009 dotnet4all.com