+ 1
How can we make this program using c language?give all the programs possible using c language?
suppose my program have to find average of some numbers and user can find average of any numbers they wanted suppose they can enter 50 numbers or how many numbers they want it is the work of my program to first count those numbers and then add all the numbers inputted and then divide the sum obtained from the number counted. Please remember that i have not mentioned the no. of numbers user can input this is user choice that he enter2 numbers or2000 numbers my program has to just find the average of all no.
2 Answers
+ 1
check it again i have updated the code as you actually don't need a vector for this.