### Working program need help with layout

I finally got everything working after the whole day but how can i make it so everything shows up in one line
kind of like this layout

 ``123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178`` ``````#include #include using namespace std; const int R=3; //number of rows const int C=5; //number of coloumn const int N=15; void showNamesAndScores(int scores[][C], char names[][N], int); double calcAvg(int X[][C], int); char classAvg(int X[][C], int); double calcAvg(int X[][C], int s) { double a; double sum = 0; for(int i=0; i=93){ return 'A'; } else if ((85<= finalRowAvg)&&(finalRowAvg <=93)){ return 'B'; } else if ((76<= finalRowAvg)&&(finalRowAvg <=85)){ return 'C'; } else if ((70<= finalRowAvg)&&(finalRowAvg <=76)){ return 'D'; } else if ((0<= finalRowAvg)&&(finalRowAvg <=70)){ return 'F'; } } char classAvg(int scores[][C], int R) { double avg; int sum = 0; char grade; for(int i=0; i>names[i]; cout<>scores[i][j]; } cout<