Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   im new to this sorry if this an easy task (http://www.go4expert.com/forums/im-sorry-easy-task-t6408/)

bugmenot 18Sep2007 16:35

im new to this sorry if this an easy task
 
how do i write a C program that inputs three different integers from the keyboard, and then prints the sum, the average, and the product of these numbers?

ex:
input:

if the user was to input 11, 29 and 17.

output:

Input three different integers: 11 29 17
Sum is 57
Average is 19
Product is 5423

shabbir 18Sep2007 17:25

Re: im new to this sorry if this an easy task
 
Did you start on the work? if yes why don't you share the code which you think is a problem.


All times are GMT +5.5. The time now is 12:58.