- Home
- C++ Examples
- Convert Celsius To Fahrenheit
C++ - Convert Celsius To Fahrenheit
विवरण :
कोई विवरण नहीं है |
सोर्स कोड :
#include#include int main() { float c, f; cout << "Enter Celsius to Fahrenheit: "; cin >> c; f = c * 9/5 + 32; cout << "Fahrenheit = " << f; return 0; }
आउटपुट :
Enter Celsius to Fahrenheit: 100 Fahrenheit = 212