Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ ONLY! PLEASE ANSWER QUESTION THEN FILL OUT TEST TABLE WITH DIFFERENT TESTS The following program asks the user for the current temperature (in Fahrenheit).

C++ ONLY! PLEASE ANSWER QUESTION THEN FILL OUT TEST TABLE WITH DIFFERENT TESTS
image text in transcribed
image text in transcribed
The following program asks the user for the current temperature (in Fahrenheit). Add a series of cascading if statements (if with multiple alternatives) so that only one of the following messages is printed based on the temperature value: 1/ Includo any libraries needed in the proqram /* to be replaced by programer*/ using namespace std; Int main () Int Comperature; cout "Please onter the current temperature (F):"? cin tomperature; Il add 'if' statements to complete the prograin 7+ to be roplaced by itudent code :/ syatem("pause"); //doesn't work on all compilers, go comment out if it doesn't. xeturn 0i / /work on youta After reading the question requirements, but before beginning any coding, create the test case table, below, completed through column Expected Output. Write your program then complete the test table with actual output results and include in your report, AFTER your source code - Every branch, loop, and output message should be tested. - Test for ID10T user input Copy/Paste your completed source code. You must always include standard "comment header" in your programs, even if code is provided. Run all tests in your test plan - If a test produces expected output, type that output into Actual Output column and enter Pass in final column - If a test doesn't produce expected output - If it's because you didn't understand what the computer would produce/do, then correct the expected output and complete test row as above - If it's because there was a logic/semantic error in your program, enter Fail, create a new test row (5a if test was 5), correct your program, test again - Include your completed test plan after source code - Paste in a snippet of output showing results for every listed test case, labeled with test \# Test Table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3. Define the attributions we use to explain behavior

Answered: 1 week ago