Question: Write a C program that takes 4 integers from the command line and computes the following: 1 . The number of the odd integers 2

Write a C program that takes 4 integers from the command line and computes the following:
1. The number of the odd integers
2. The number of integers multiple of 5
3. The average of the odd integers
4. The average of all the integers
Sample input/output 1: (input highlighted in bold)
225715
The number of the odd integers is : 3
The number of the integers mutiple of 5 is : 2
The average of the odd integers is : 9.00 The average of all the
integers is : 12.25
Sample input/output 2: (input highlighted in bold)
22
ERROR!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!