00:01
So here we have to provide the program of the total given thing in a question given scenario.
00:07
So for the first part we have to program to calculate the sum of n numbers using subroutine.
00:17
So we have to write include stdo .h sum then int main int n.
00:59
Printf please enter the number of element int numbers n please enter the required number.
01:06
For int i is equal to 0, i is less than n then int sum is equal to calculate sum numbers n then return 0.
01:22
This is the first program.
01:25
Now the second the program to read n integers.
01:31
N integer number calculate sum and max display the array.
01:36
Here we have to write void read array int arr int n.
01:48
Printf please enter the required number.
01:51
For int i is equal to 0, i is less than n i+ + scan arr i.
02:03
Int calculate sum for int arr int n sum is equal to 0, i is equal to 0, i is less than n then return sum...