Question: Write a program that repeatedly prompts the user to enter 10 integers (positive numbers). For all the nonzero numbers entered, the program counts how
Write a program that repeatedly prompts the user to enter 10 integers (positive numbers). For all the nonzero numbers entered, the program counts how many odd numbers, how many even numbers, and determines what is the biggest number, and what is the smallest number, and displays the information. Output 5 7 14 9 2 4 25 72 80 22 There are 4 odd numbers and 6 even numbers entered. The biggest number is 80 and the smallest number is 2
Step by Step Solution
There are 3 Steps involved in it
include int main int bigNum0 int smallNum0 for i0 i 10 i int num do printf... View full answer
Get step-by-step solutions from verified subject matter experts
