Chapter 15: Problem 12
(Converting Fabrenbeit to Celsius) Write a program that converts integer Fahrenheit temperatures from 0 to 212 degrees to floating-point Celsius temperatures with 3 digits of precision. Use the formula celsius \(=5.0 / 9.0^{*}\) ( fahrenheit -32 ); to perform the calculation. The output should be printed in two right-justified columns 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.