Question: Problem 2 Write a function to convert a temperature value from Celsius to Fahrenheit and print the emperature in Fahrenheit using the format of the
Problem 2 Write a function to convert a temperature value from Celsius to Fahrenheit and print the emperature in Fahrenheit using the format of the example. Hint: the formula for converting Celsius(C) to Fahrenheit (F): F C(9/5) 32 . Your function name MUST be named celsiusToFahrenheit . Your function should accept only one input argument: temperature in Celsius, as a integer Your function should not return any value Your function should print the resulting temperature Fahrenheit value, with a two dig precision, in the following format: . For example, given input temperature as 38, it should print: The temperature of 38 in fahrenheit is 100.40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
