From 71c5f784ad64d2f45fb44efdbd2e0b7e43223b52 Mon Sep 17 00:00:00 2001 From: WiserJ Date: Wed, 3 Nov 2021 16:43:46 -0700 Subject: p.282 --- CST116F2021-Lab6/CST116F2021-Lab6.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CST116F2021-Lab6/CST116F2021-Lab6.cpp b/CST116F2021-Lab6/CST116F2021-Lab6.cpp index 6043619..ec6933d 100644 --- a/CST116F2021-Lab6/CST116F2021-Lab6.cpp +++ b/CST116F2021-Lab6/CST116F2021-Lab6.cpp @@ -56,10 +56,10 @@ void fundCalc(int calcNumStu[], int calcFund[]) void tableDisp(int dispNumStu[], int dispFund[], string dispClubPres[][2]) { int i = 0; - cout << "Student Club" << setw(27) << "President" << setw(25) << "Number of Students" << setw(15)<< "Club Fund" << endl; + cout << "Student Club" << setw(30) << "President" << setw(25) << "Number of Students" << setw(15)<< "Club Fund" << endl; while (i < ARRAY_SIZE) { - cout << setw(23) << dispClubPres[i][0] << setw(16) << dispClubPres[i][1] << setw(22) << dispNumStu[i] << setw(15) << dispFund[i]; + cout << setw(26) << dispClubPres[i][0] << setw(16) << dispClubPres[i][1] << setw(22) << dispNumStu[i] << setw(15) << dispFund[i]; cout << endl; i++; } -- cgit v1.2.3