Question: 5) Ask user to enter the following array data, then prompt user to enter a number to replace the last element (2017) in the array.
5) Ask user to enter the following array data, then prompt user to enter a number to replace the last element (2017) in the array. Display the product of the data in the updated array 12 32 40 2017 (10 Marks) 6) Prompt user to enter three numbers, find the maximum number among the (10 Marks) numbers using a pointer. 7) Load the data file (data.txt) which is given on the next page, into an array before 5) Ask user to enter the following array data, then prompt user to enter a number to replace the last element (2017) in the array. Display the product of the data in the updated array 12 32 40 2017 (10 Marks) 6) Prompt user to enter three numbers, find the maximum number among the (10 Marks) numbers using a pointer. 7) Load the data file (data.txt) which is given on the next page, into an array before
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
