Chapter 29: Problem 11
(Converting Fabrenheit Temperature to Celsius) Write a program that converts integer Fahrenheit temperatures from 0 to 212 degrees to floating-point Celsius temperatures with three digits of precision. Use the formula celsius \(=5.0 / 9.0\) a ( fahrenheit -32 ); to perform the calculation. The output should be printed in two right-justified columns of 10 characters each, and the Celsius temperatures should be preceded by a sign for both positive and negative values.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.