Write a computer program that will change a fahrenheit

Assignment Help Computer Engineering
Reference no: EM132151559

Temperature Conversion

Task: Write a computer program that will change a Fahrenheit temperature to Celsius. Write two versions of the program, one in Java and one in C++.

Input: The temperature in Fahrenheit degrees, provided interactively by the user. The input value will be a real number.

Output: Display the Fahrenheit input temperature and the corresponding Celsius temperature, also a real number. The results may be displayed on the screen. Provide a simple message to explain the output (i.e., one sentence). At least the Java output should be formatted neatly, with one decimal position displayed in the numbers.

Sample output: 212.0 degrees Fahrenheit = 100.0 degrees Celsius.

Programming:

Include at least some documentation in this simple program.

Initial comments at the beginning of each file should provide the program name, your name, and a simple statement of what the program does.

Include one other comment somewhere in each program, either in-line or on a separate line.

Include a meaningful prompt for the user.

To avoid doing data conversions or losing data through integer truncations, use only real numbers in the calculations. A number constant will be treated as a real number if you include a decimal point and a trailing 0.

Submissions: Submit an electronic copy of the of your algorithm fist in the D2L dropbox. Due date is listed above. Then submit the two source code files in the D2L dropbox. Due date is listed above. Algorithm is worth 6 points. Each program is worth 7 points. Include your initials at the beginning of the name of any program submission.

Reference no: EM132151559

Questions Cloud

Define a functionthat takes a string containing a filename : Define a functionthat takes a string containing a filename for the keys of the dictionary, and an optional integer, the maximum number.
How can you tell if the index is being used or not : How can you tell if the index is being used or not? How would this information help in optimizing our tuning a databases in MySQL.
What percent of passenger vehicles travel slower : The distribution of passenger vehicle speeds traveling on the Interstate 5 Freeway (I-5) in California is nearly normal with a mean of 72.6 miles
Discuss the unique characteristics of ecommerce : discuss the unique characteristics of eCommerce as it relates to the opportunities and requirements for cloud computing.
Write a computer program that will change a fahrenheit : Write a computer program that will change a Fahrenheit temperature to Celsius. Write two versions of the program, one in Java and one in C++.
What is the probability of these individual : A random sample of 100 baby boomers was selected. What is the probability that 32 or fewer of these individuals took a cruise within the last three years?
Describe that can we create its equivalent serial schedule : Describe that can we create its equivalent serial schedule. If yes then how else why?
Standard deviation of the sampling distribution : What is the standard deviation of the sampling distribution?
What is the minimum number of bits required to store : In terms of n, what is the minimum number of bits required to store each subset of a set with n elements?

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