#include
#include
using namespace std;
char representative[2][20] = {"AAAAAAAAAAAA",
"BBBBBBBBBBBB"};
int articleCount[2][5] = { { 120, 151, 130, 117, 144},
{150, 120, 190, 110, 188}
};
int main(){
for( int i=0; i < 2; i++ ){
cout <<"\nRepresentative: " <<>[i];
cout << "\nNumber of items sold: ";
for( int j = 0; j < 5; j++ )
cout <<>(6) <<>[i][j];
cout <<>
}
return 0;
}
Output:
Leave a Reply