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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!