majd hamayel

majd hamayel

  • NA
  • 6
  • 5.4k

can you help me to solve this problem

Sep 29 2014 12:54 PM
write a c++ program that reads a number that represents the temperature. And it reads the type of input temperature, ‘F’ for Fahrenheit and ‘C’ for Celsius. Then your program converts from Fahrenheit to Celsius and vice versa.
Hint:
°C x 9/5 + 32 = °F
(°F - 32) x 5/9 = °C

Answers (1)