Write a program to converts temperatures between

Assignment Help Computer Engineering
Reference no: EM13462062

Write a program to converts temperatures between Fahrenheit and Celsius. Your program should print a brief message describing what it does, and then prompt the user to enter "1" if they would like to convert a Fahrenheit number to Celsius, or "2" to convert a Celsius number to Fahrenheit. Then, allow the user to enter the number to be converted. Your program should call a function to perform the conversion and display the resulting value to the screen.

Helpful Hints:

  • C= (5.0/9.0 * (F-32)); C = temperature in degrees Celsius, F = temperature in degrees Fahrenheit
  • F= (9.0/5.0 * C+32); C = temperature in degrees Celsius, F = temperature in degrees Fahrenheit
  • When you integer division, the result is always an integer so all decimal numbers are truncated and not rounded. For example, 5/6=0 when it comes to integers. Keep this in mind when doing your conversions. Also, order of operations count!

Requirements:

  • Include a flowchart for your program. Be sure that you create a separate flowchart diagram for each function - In this case, you should have three flowchart diagrams.
  • Your program must have two separate conversion functions: one to convert Fahrenheit to Celsius and one to convert Celsius to Fahrenheit.
  • Your program must be well documented
  • Your program should be user friendly. That means it should handle incorrect user input and output should be labeled

Reference no: EM13462062

Questions Cloud

This assignment is due for online students by midnight on : this assignment is due for online students by midnight on sunday of week 7 and for on-ground students before week 8s
Writenbspa 700- to 1050-word paper discussing managerial : writenbspa 700- to 1050-word paper discussing managerial issues associated with managing an organizations is
This assignment requires the use of a relational database : this assignment requires the use of a relational database management system. strayer university provides each student
How to submit homework how to submit homeworkhow to submit : how to submit homeworkhow to submit homeworkhow to submit homeworkhow to submit homework how to submit homeworkhow to
Write a program to converts temperatures between : write a program to converts temperatures between fahrenheit and celsius. your program should print a brief message
Challengeopportunity area for suh choose one of the three : using the case provided propose a technology solution that results from your analysis of the business environment.
How to submit homework how to submit homeworkhow to submit : how to submit homeworkhow to submit homeworkhow to submit homeworkhow to submit homework how to submit homeworkhow to
How might misinterpretation of social categorization cues : individuals react to a variety of social cues to construct their personal realities. these cues include social
Examine the influence of global economic interdependence : write a paper with 1050 words in which you identify the environmental factors that affect global and domestic marketing

Reviews

Write a Review

Computer Engineering Questions & Answers

  Which is more important, content or presentation

There has been a discussion for years on which is more important, content or presentation. This is very important when thinking about creating a PowerPoint slideshow. In your opinion, which is more and important and why.

  Design an entity relationship diagram

modify an Entity Relationship Diagram for the information content of your textbook.

  Questiona house has a house number and an x y location

questiona house has a house number and an x y location where x and y are numbers between - 10 and 10. the key member

  Application showing files name-size and last modifiaction

Make a file by utilizing any word-processing program or the text editor. Write down an application which shows the file's name, size, and time of the last modification.

  Find a way to simulate different cache architectures

find a way to simulate different cache architectures through premade address accessing files. this task includes

  How can state the units for each metric

express the units for each metric, such as dollars per hour, rejects per day, schedule slippage per task in days, budgeted versus actual cost expenditure per task,etc. One character in a group I once had expressed the progress of laying a cable in..

  How to show the mortgage payment amount

Modify the mortgage program to allow the user to input the amount of a mortgage and then choose from a menu of mortgage loans: 7 year at 5.35%, 15 year at 5.5 %, and 30 year at 5.75%. Use an array for the different loans.

  How to compute an arithmetic mean(average), median

I want to compute an arithmetic mean(average), median, and mode for up to 50 test scores. The data are contained in a text file. To determine the median, I must first sort the array. The median is the score in the middle of the range.

  How many entries

Then in main using pointer notation only, print all the information saved in get_info. In main the function print_info is used to print all the information. get_info is used to save all the data and print_info is used to print all the saved inform..

  Illustrate a 4-d hypercube network

Illustrate a 4-D hypercube network

  Identify the security provisions

Identify the security provisions

  Why would a firm choose one of these approaches

I am having difficulty with the following questions: Differentiate between a two-tier client/server system and a three-tier client/server system. Why would a firm select one of these approaches over the other when implementing a client/server syst..

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