Using functions, develop a full C++ structured program that asks the user for his choics:1 or 2. If the choice is 1, then your program will convert the entered Fahrenheit (F°) temperature to Celsius (C°). If the choice is 2, then your program will convert the entered Celsius (C°) temperature to Fahrenheit (F°). use the following functions: - getTemp: read the temperature from the user - getChoice: read the user choice: 1 or 2 NOTE: only 1 or 2 are allowed, if not, then give an error message warning for three times, then exit the whole program with a message if the problem persists. - convertToF: converts Celsius to Fahrenheit F°= (9/5) * C° + 32 - convertToC: converts Fahrenheit to Celsius C°= (5/9) * (F° - 32)
Using functions, develop a full C++ structured program that asks the user for his
choics:1 or 2. If the choice is 1, then your program will convert the entered Fahrenheit
(F°) temperature to Celsius (C°). If the choice is 2, then your program will convert the
entered Celsius (C°) temperature to Fahrenheit (F°). use the following functions:
- getTemp: read the temperature from the user
- getChoice: read the user choice: 1 or 2
NOTE: only 1 or 2 are allowed, if not, then give an
error message warning for three times, then exit the whole
program with a message if the problem persists.
- convertToF: converts Celsius to Fahrenheit F°= (9/5) * C° + 32
- convertToC: converts Fahrenheit to Celsius C°= (5/9) * (F° - 32)
![(6 marks)
3. Using functions, develop a full C++ structured program that asks the user for his
choics:1 or 2. If the choice is 1, then your program will convert the entered Fahrenheit
(F°) temperature to Celsius (C°). If the choice is 2, then your program will convert the
entered Celsius (C°) temperature to Fahrenheit (F°). use the following functions:
- getTemp: read the temperature from the user
- getChoice: read the user choice: 1 or 2
NOTE: only 1 or 2 are allowed, if not, then give an
error message warning for three times, then exit the whole
program with a message if the problem persists.
- convertToF: converts Celsius to Fahrenheit F°= (9/5) * C° + 32
- convertToC: converts Fahrenheit to Celsius C°= (5/9) * (Fo - 32)
-](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F0b267f1b-eeb5-4969-8827-0a47c8bb05c2%2F90647501-1639-4d04-b406-bca73087bab6%2Fotp6h2_processed.png&w=3840&q=75)
![(6 marks)
3. Using functions, develop a full C++ structured program that asks the user for his
choics:1 or 2. If the choice is 1, then your program will convert the entered Fahrenheit
(F°) temperature to Celsius (C°). If the choice is 2, then your program will convert the
entered Celsius (C°) temperature to Fahrenheit (F°). use the following functions:
- getTemp: read the temperature from the user
- getChoice: read the user choice: 1 or 2
NOTE: only 1 or 2 are allowed, if not, then give an
error message warning for three times, then exit the whole
program with a message if the problem persists.
- convertToF: converts Celsius to Fahrenheit F°= (9/5) * C° + 32
- convertToC: converts Fahrenheit to Celsius C°= (5/9) * (Fo - 32)
-](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F0b267f1b-eeb5-4969-8827-0a47c8bb05c2%2F90647501-1639-4d04-b406-bca73087bab6%2Fmw7o26_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)