Question: DELIVERABLES: Modify the code so that the program will generate 10 random numbers ranging -500 to +1000. The code was getting 10 numbers from user

DELIVERABLES:

Modify the code so that the program will generate 10 random numbers ranging -500 to +1000. The code was getting 10 numbers from user and you can erase this portion

The program will print the entire set of randomly generated numbers

The program will then print all numbers which are multiole of 5 in the reversed order

The program will finally print the count of non-multple of 7 numbers. Lable all of your outputs

Alter the code below in Code below for the deliverables

/* reverse.c (Chapter 8, page 164) */

/* Reverses a series of numbers */

#include

#define N 10

int main(void)

{

int a[N], i;

printf("Enter %d numbers: ", N);

for (i = 0; i < N; i++)

scanf("%d", &a[i]);

printf("In reverse order:");

for (i = N - 1; i >= 0; i--)

printf(" %d", a[i]);

printf(" ");

return 0;

}

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 Databases Questions!