Question: Write a program to declare an array of integers, size 1 0 ( 5 pt ) , then add the following elements into the array:
Write a program to declare an array of integers, size pt then add the following elements into the array:
a as the first element of the array pt
b as the last element of the array pt
c all other elements of the array should be initialized with random values between and pt
d print all elements of the array pt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
