APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 3 Days Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Computer Science Posted 16 Jul 2017 My Price 10.00

Help me with a program to take a depth (in kilometers) inside the earth

Help me with a program to take a depth (in kilometers) inside the earth as input data; compute and display the temperature at this depth in degrees Celsius and degree Fahrenheit. The relevant formulas are: celsius = 10*depth + 20 (Celsius temperature at depth in km) fahrenheit = 1.8*celsius + 32.

 

The program will include four functions.

Step 1. void print_introduction (void) // prints out information to tell the user what this program does.

Step 2. double celsius_at_depth (double depth) // computes and returns the celsius temperature at a depth measured in kilometers.

Step 3. double celsius_to_hahrenheit (double celsius) // converts a celsius temperature celsius to fahrenheit.

Step 4. void print_conclusion(double depth) // display the conclusion that what is the temperature in Fahrenheit at depth of the earth Requirement: There is no calculation in main function except function calls to two void functions. The pseudo code for main function is follows: Step 1: print introduction by calling print_introduction function Step 2: ask user to enter the depth Step 3: get user’s input Step 4: print out the conclusion by calling print_conclusion function Step 5: ask user if he/she wants to continue

Step 6: get user’s input

Step 7: repeat step 1 to step 6 if user picks ‘Y’ or ‘y’

Step 8: Stop program All the necessary calculations are done in print_conclusion function. i.e. celsius_at depth and celsius_to_fahrenheit functions are called from print_conclusion function. There is no explicit calculation in main function. No calling to two calculation functions in main function. Run the demo the see the sample output

Answers

Not Rated (0)
Status NEW Posted 16 Jul 2017 10:07 AM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)