![]() ![]() In this program, the user declares a double variable as a parameter for Fahrenheit in the user-defined function. ![]() When the above code is executed, it produces the following result The temperature in Celsius is: 37.777777777778Ĭonvert Fahrenheit into Celsius – Entered by the user When the user calls the function, the Fahrenheit value passes to the function as an argument through the variable. When the above code is executed, it produces the following result Enter the Celsius: 90Ĭonvert Fahrenheit into Celsius – via variable When the user calls the function, the Fahrenheit value passes to the function as an argument.įinally, the Celsius value is calculated using a user-defined function and displayed on the screen. ![]() Scientific equation Celsius = (Fahrenheit-32)*9/5 program to convert Fahrenheit into Celsius Program to convert Fahrenheit into Celsius Convert Fahrenheit into Celsius using the function ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |