Write a temperature conversion program

Assignment Help C/C++ Programming
Reference no: EM131321452

Assignment

When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output.

This assignment will be to write a temperature conversion program that interacts with the end user - using the guidelines and sample output below.

Program: 20 points - temp.cpp

Write a program that will do the following:

? Use a function that will prompt the user for their name, returning the name back to the calling function.

? Use a function that will prompt the user for the current temperature outside in Celsius, when you prompt the user make sure to reference the user by their name, returning the temperature in Celsius back to the calling function. (you will need to pass the name to this function)

? Use a function that will convert the temperature in Celsius to Fahrenheit, returning the new Fahrenheit temperature back to the calling function.

? Use a function that will print out the results of the Celsius to Fahrenheit conversion, referencing the user by their name - returns nothing.

Example program run:

(1st function)

Please enter your full name: Michael Bradley

(2nd function)

Hello Michael Bradley, please enter the current temperature outside in Celsius: 31.6 (3rd function calculates the C → F temp - no output produced)

(4th function displays the results)

Michael Bradley, your temperature outside in Fahrenheit is: 88.88

Another run without references to what function is what - this is what your run should resemble: Please enter your full name: Karissa Smith
Hello Karissa Smith, please enter the current temperature outside in Celsius: 2 Karissa Smith, your temperature outside in Fahrenheit is: 35.6

Reference no: EM131321452

Questions Cloud

What is the maximum you can afford to borrow : Your spouse needs a car and you believe you can afford no more than $350 a month for a 5-year car loan. If the interest rate on this loan is 5% percent, what is the maximum you can afford to borrow to purchase this car?
What levels of evidence are present in relation to research : What levels of evidence are present in relation to research and practice and why are they important regardless of the method you use
The risky asset as function of the standard deviation : Mr. K can invest the profits from his business either in a safe asset that has a return of 10% and no deviation from that return, or a risky asset with an expected return of 30% with a standard deviation of 10%. Write an equation showing the expected..
Rating for city of indianapolis debt : In March 1982, Moody s lowered its rating for City of Indianapolis debt from Aaa to Aa. Which of the following would result from that change?
Write a temperature conversion program : This assignment will be to write a temperature conversion program that interacts with the end user - using the guidelines and sample output below.
Determine standard deviation of the expected return : Following are three economic states, their likelihoods, and the potential returns: Economic State Probability Return Fast growth 0.17 21 % Slow growth 0.50 10 Recession 0.33 –21 Determine the standard deviation of the expected return.
Study the various forms of activism : Software rating, although helpful in bringing awareness to concerned individuals, has not been successful. Discuss why.
Assume that average firm in the office supply business : Assume that an average firm in the office supply business has a 6% profit margin, a 40% total liabilities/assets ratio, a total assets turnover of 2 times, and a dividend payout ratio of 40%. Is it true that if such a firm is to have any sales growth..
Human genome stock that has assumed beta : You own $19,175 of Human Genome stock that has an assumed beta of 3.91. You also own $11,700 of Frozen Food Express (assumed beta = 1.83) and $1,625 of Molecular Devices (assumed beta = 0.82). What is the beta of your portfolio?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd