PDA

View Full Version : I want to write a program that accepts user input and then prints its average in a se


noobSaibotRetur
Mar 13, 2015, 10:56 AM
I want to write a program that accepts user input and then prints its average in a serial way.


Suppose I enter 5. I should get result 5 first time then I input 10 then it should return the average of (5 and 10) and then I enter say 20 it should return average of (5,10 and 20) and so on.