1
0
UAHCode/CPE435/Lab7/output.cpp

16 lines
284 B
C++
Raw Permalink Normal View History

2022-08-28 21:12:16 +00:00
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int Grades[5] = { 3, 2, 5, 2 };
cout << "| Time (ms) |";
for (int i = 0; i < sizeof(Grades)/sizeof(int); i++) {
cout << setw(8) << setfill(' ') << i << setw(4) << setfill(' ')<< "|";
}
return 0;
}