Question: Write a program to determine which numbers in an array are inside a particular range.The limits of the range are inclusive. You have to write

Write a program to determine which numbers in an array are inside a particular range.The limits of the range are inclusive.

You have to write a complete "C" Program that compiles and runs in Codeblocks. (main.c)

1. Declare an array that can contain 10 integer numbers.Use as the name of the array your LastName (Perez).

2. Use a for loop to generate 10 random numbers between 1 and 100 and fill up the array using those numbers.

3. Ask the user for the lower limit of the range.

4. Ask the user for the upper limit of the range.

5. Use a for loop to check all the numbers in the array and print the numbers inside the range.

The following is an example of how your program should look when you execute it:

The numbers in the array are:

19790148194236799100

Enter the lower limit of the range: 90

Enter the upper limit of the range: 99

The numbers in the range are: 90, 94, 97, 99

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!