Write a program that converts a temperature from Celsius to Fahrenheit using the formula: F = C * 9/5 + 32. Use double for accuracy. Declare double celsius = 25.0;. Calculate double fahrenheit = celsius * 9.0 / 5.0 + 32;.
Print both values with descriptive text. If you write 9 / 5 instead of 9.0 / 5.0, you get 1 instead of 1.8 due to integer division. Your results will be wrong. Always use decimals when you need fractional results.