Subject Computer Science C-Family Programming

Question

Celsius to Fahrenheit Table
Design a program that displays a table of the Celsius temperatures 0 through 20 and their Fahrenheit equivalents.
The formula for converting a temperature from Celsius to Fahrenheit is F = 9/5C + 32
You need to set up a pseudocode solution that is complete and workable.
For your solution to be complete, you must:
• Prompt the user for the input data asked for within the problem statement
• Set up a correct formula to process the input data, arriving at the output data
• Provide the output data asked for within the problem statement to the user
For your solution to be workable,
• There should not be any logic errors in your solution
• You may want to set up a hand trace chart, showing the values of your variables as you move through the solution from one statement to the next.
Instructions on documenting your solutions:
• Prior to the start of your solution, include a paragraph, explaining what is being accomplished.
• Within your solution, include the following 3 sections:
- Input Data: document variables used to hold input data
- Output Data: document variables used to hold output data
- Processing: document the formulas/equations you set up as part of your processing

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

The program conv2.cpp performs the calculation of the temperature expressed in Fahrenheit degrees for [0,20] range of Celsius degrees. It demonstrates the usage of simple functions and loop structure (e.g., for) and it returns the Fahrenheit temperature expressed as float value.
Input data: the variable “i” holds the value for the Celsius temperature from the [0,20] range. It is not provided by user’s input, but it is known in advance instead.
Output data: the variable “f” holds the result of the calculation for the Fahrenheit temperature for each value from the [0,20] range of the Celsius temperature.
Processing: the calculation of the Fahrenheit temperature is done using the formula:
F = 9/5C + 32...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Craps Game in Programming Language C
Homework Solution
$35.00
Programming
C
Craps
Game Development
Coding
Algorithms
Dice
Numbers
Players
Statements
Variables
Bet
Results
Money
Win
Lose
Functions
Bank Roll
Matrix Multiplication
Homework Solution
$23.00
Matrix
Multiplication
Computer
Science
C-Family
Programming
Print
Results
Input
Output
Values
Label
Malloc
Homework Solution
$8.00
Malloc
Computer
Science
C-Family
Programming
Implementation
Procedures
Memory
Pointer
List
Call
Death Ping Program
Homework Solution
$75.00
Programming
Computer Science
C#
Algorithms
Hacking
Virus
Router
IP Address
Death Ping
Network
Windows
Loops
Packages
Variables
Damage
Connectivity
Get help from a qualified tutor
Live Chats