Problem 2, Module 7, ETEC128 *************************************************************************** Last name:
Posted: Thu Jul 14, 2022 2:27 pm
Problem 2, Module 7, ETEC128
***************************************************************************
Lastname: Firstname: ID: Sec:
***************************************************************************
The name, ID and section number that appear at the beginning ofthe
output of the program should be your own, not the ones used inthe sample
Arrays:
Write a program in C to find the sum of all elements of thearray.
Test Data :
Input 3 elements in the array :
element - 0 : 2
element - 1 : 5
element - 2 : 8
--- Your output should be like this (with your own ID andname): --------
***********************************************************************
My name: Smith,Peter My ID: 300999999 My section: 61
***********************************************************************
Please input 3 numbers:
2
5
8
Sum of all elements stored in the array is: 15
***************************************************************************
Lastname: Firstname: ID: Sec:
***************************************************************************
The name, ID and section number that appear at the beginning ofthe
output of the program should be your own, not the ones used inthe sample
Arrays:
Write a program in C to find the sum of all elements of thearray.
Test Data :
Input 3 elements in the array :
element - 0 : 2
element - 1 : 5
element - 2 : 8
--- Your output should be like this (with your own ID andname): --------
***********************************************************************
My name: Smith,Peter My ID: 300999999 My section: 61
***********************************************************************
Please input 3 numbers:
2
5
8
Sum of all elements stored in the array is: 15