Question: Write a C program that includes the following: 1. (3 points) A function that reads an integer array from the keyboard with the following prototype:
Write a C program that includes the following: 1. (3 points) A function that reads an integer array from the keyboard with the following prototype: void ReadArray (int *a , int size); 2. (5 points) A function that multiplies the largest number that is multiple of 3 in array a by value c with the following prototype: void MultipleOf_3_ByConst (int *a , int size, int c); 3. (4 points) The main function that: -Declares integer named c as well as an integer array named Array1 that contains 35 elements. -Reads c from the keyboard -Calls ReadArray to read Array). -Calls MultipleOf_3_ByConst to multiply the largest number that is multiple of 3 in Array1 by c. -Prints Array1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
