Write a C++ program that will ask for a letter. If A, convert the input number from celcius to fahrenheit. If B, convert the input number from fahrenheit to celcius. If C, convert the input number from celcius to kelvin.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.2: The If-else Statement
Problem 3E
icon
Related questions
Question

Write a C++ program that will ask for a letter. If A, convert the input number from celcius to fahrenheit. If B, convert the input number from fahrenheit to celcius. If C, convert the input number from celcius to kelvin.

Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr