Question: Using while loop, write a complete C code where you will ask the user to enter a positive integer number and your code should: 1
Using while loop, write a complete C code where you will ask the user to enter a positive integer number and your code should:
Sum up all the odd numbers between and the entered number inclusive
Count how many numbers are odd.
Calculate the average value of the odd numbers.
Display the results on screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
