Question
Use C++ and For Loop Testing Plan: Design some tests you can perform to verify that your program meets the given specifications. They should be
Use C++ and For Loop
Testing Plan: Design some tests you can perform to verify that your program meets the given specifications. They should be representative enough that if your program passes them, you would have a high level of confidence that your program is ready to be submitted. Having just a couple of tests will not meet that criterion. Create a table with two columns: one for the description of each test and one for the expected results of each test. These are not meant to be general descriptions, but rather specific concrete examples of inputs and outputs. Try to come up with tests that will check different aspects of the program's functioning, and be creative in thinking of situations that might "break" the program. You do not need to test whether the inputs are legal - just whether the program behaves correctly when given legal inputs.
Design: Describe or draw out your design for how the program should behave using pseudocode or flowcharts. You do not need to do both pseudocode and a flowchart - just one or the other.
* (Project 3.a)
Write a program that asks the user how many integers they would like to enter. You can assume they will enter a number >= 1. The program will then prompt the user to enter that many integers. After all the numbers have been entered, the program should display the largest and smallest of those numbers. When you run your program it should match the following format:
How many integers would you like to enter? 4 Please enter 4 integers. -4 105 2 -7 min: -7 max: 105
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