Question
Need help with a beginner C++ project, here are the instructions below. Also please use good variables 1. Problem Statement The goal of this programming
Need help with a beginner C++ project, here are the instructions below. Also please use good variables
1. Problem Statement
The goal of this programming assignment is to develop a program for converting temperatures from Celsius to Fahrenheit or Fahrenheit to Celsius using the classic conversion formula (T(celsius) = T(fahrenheit 32) x (5/9)).
2. Description
Your program should ask the user which conversion they wish to perform, C to F or F to C. Based on the user's answer, the program should prompt for the temperature in C or F, and then calculate the corresponding temperature on the opposite scale. Your program must also check for valid input values and print an error message when the input value is not a number (for example, the user inputs in cat).
3. Implementation
Start your program with comments based on your design and add portions of code a little at a time. Compile and run your program on a regular basis, so you always have something that runs, even if it only does part of the job. Make sure you have completed the first task, e.g., printing your name to the screen, before you start writing code for the second task.
4. Testing
Test your program to check that it operates correctly for all of the requirements listed above. Also check for the error handling capabilities of the code. Save your testing output in text files for submission on the program due date. For debugging purposes, it is useful to "echo" any variables you input, and to print intermediate results as they are calculated. You should comment out your debugging code before you hand in your final version of the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started