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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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