Create an algorithm that will prompt a user to answer the following question. “Do you want to convert the Fahrenheit temperature to Celsius?’ While the user answers yes, the algorithm will prompt a user for a Fahrenheit temperature, convert the Fahrenheit temperature to Celsius, and print the Celsius temperature. Write the algorithm using pseudocode, and create a desk check using at least one set of test data. The formula used to convert Fahrenheit to Celsius is: °C = (°F - 32) / 1.8

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 15E: Write a program named FahrenheitToCelsius that accepts a temperature in Fahrenheit from a user and...
icon
Related questions
Question

Create an algorithm that will prompt a user to answer the following question. “Do you want to convert the Fahrenheit temperature to Celsius?’ While the user answers yes, the algorithm will prompt a user for a Fahrenheit temperature, convert the Fahrenheit temperature to Celsius, and print the Celsius temperature. Write the algorithm using pseudocode, and create a desk check using at least one set of test data. The formula used to convert Fahrenheit to Celsius is: °C = (°F - 32) / 1.8

Example: 68 °F

Celsius = (68-32)/1.8
Celsius = (36)/1.8
Celsius = 20

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning