Hi po mga sir patulong po ako nitong problem may code napo ako pero di gumagana
Input N integers(Ask from the user how many nos. he/she wants to input). Determine and print the sum of all nos., the average of all numbers, how many odd nos. were inputted, how many even nos. were entered and how many zeroes inputted.
Output:
Enter desireed number to input: 6
Input 6 integers:
25
0
-5
12
0
The sum of all nos is 132
The Average of all nos is 32.00
Od nos inputted: 2
Even nos inputted:2
Zero nos inputted:2
Input N integers(Ask from the user how many nos. he/she wants to input). Determine and print the sum of all nos., the average of all numbers, how many odd nos. were inputted, how many even nos. were entered and how many zeroes inputted.
Output:
Enter desireed number to input: 6
Input 6 integers:
25
0
-5
12
0
The sum of all nos is 132
The Average of all nos is 32.00
Od nos inputted: 2
Even nos inputted:2
Zero nos inputted:2