Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Metric Conversion Part 3 For this exercise you will get some experience in calling your functions from main ( ) . To start copy and
Metric Conversion Part
For this exercise you will get some experience in calling your functions from main
To start copy and paste the code defining GetCelsius and GetMeters into the file to the right
underneath Type your code here.
Next define a main function that will declare variables to hold on the degress Fahrenheit,
feet, degrees Celsius and meters. Next you will need to get degrees Fahrenheit and feet from
the user using the following prompts:
Enter degrees Fahrenheit:
Enter feet:
The two or underscores you see are representing spaces after the colon
Next you will call your two functions and print out those values to the screen. Codio will
supply the inputs for degrees Fahrenheit and feet. Your output prompts need to look like the
following:
Degrees Celsius:
Meters:
Where you see that represents spaces.
Given degrees Fahrenheit and feet, your program should output the following:
Degrees Celsius:
Meters:
If you type in all of your code and you don't see any output, it could be because you did not
call main At the very bottom of your code type in:
main
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started