make and run a program that will display the average of scores entered by a user using FUNCTIONS in a Dev C++ application. The program should ask how many times the user will enter scores. sample output: how many scores? 5 85 76 84 90 86 the average score is 84.2 i understand that this question was already answered. but we're not allowed to use "cout", we're only allowed to use int, main, etc, and functions... please help...
There are plenty of other I/O functions provided by C++ ostream class. There is the option of using C-based I/O also, with functions like printf/scanf. A possibility is to create a dummy I/O function of the like: int GetInt(int a) { cin << a; return a; } Faking the use of cin/cout. Or something of the like. I don't really know C++, but I think you get the idea. Apart from this, do you have any problem understanding the concept of the program?
Uhhh.. not much. i just dont know how to begin that's all. thanks so much for responding :))
Join our real-time social learning platform and learn together with your friends!