I don't know why is program is doing an infinite loop. After I enter the number of students it keeps asking for more students beyond the number I specified. Also i need to bubble sort the students names with the corresponding score and I don't know where to begin. Then calculate average of the scores and display it.
This is my code so far:
using namespace std;
void testSize(int); // validates user input for size
void getData(int size, int , char );
int main(int argc, char *argv)
char Students ;