Answered step by step
Verified Expert Solution
Link Copied!

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 3
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 4 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 87 degrees Fahrenheit and 4 feet, your program should output the following:
Degrees Celsius: 30
Meters: 1.2192
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:
main0
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

List the different categories of international employees. page 642

Answered: 1 week ago

Question

Explain the legal environments impact on labor relations. page 590

Answered: 1 week ago