Question: Write a C++ program without using arrays, to find the range of N numbers that given from the user, and carries out the following:

Write a C++ program without using arrays, to find the range of 

Write a C++ program without using arrays, to find the range of N numbers that given from the user, and carries out the following: 1. Find the largest element of these numbers. 2. Find the smallest element of these numbers. 3. Find the Range of these numbers. Hint: Range Largest-smallest Sample Output: How many numbers you want to enter?? S Enter number 1: 56 Enter number 2 34 2 Enter number 3 Enter number 4 89 Enter number 5 65 The largest number is The smallest number is The RANGE 15-87 89 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!