Question
c++ programming homework...please help..I'm lost!!
In this exercise, you will create a program that displays both the smallest and largest of three integers entered by the user. example, the r enters the numbers 3,5, and 9, the program should display the messages "smallest number is 3 and Largest number is9 on the computer screen. a. Create an IPO chart for the problem, and then desk-check the algorithm four times. For the first desk-check, use the numbers 3, 5, and 9. For the second desk-check, use 7, 10, and 2. For the third desk check, use 8, 4, and 6. For the fourth desk-check, use 1, 9, and 1. b. List the input, processing, and output items, as well as the algorithm, in a chart simi- lar to the one shown earlier in Figure 6-27. Then code the algorithm into a program. c. Desk-check the program using the same data used to desk-check the algorithm. d. If necessary, create a new project named Intermediate16 Project, and save it in the Cpp8IChap06 folder. Enter your C++ instructions into a source file named cpp. Also enter appropriate comments and any additional instruc tions required by the compiler. e. Save and run the program. Test the program using the same data used to desk-check the program.
Explanation / Answer
#include using namespace std; int main() { int Arr[100],n,i,small,large; coutn; for(i=0;i