Playground
#include <iostream> using namespace std; int main() { int m[6][6]; for (int r=0; r<=5; r++) for (int c=0; c<=5; c++) { m[r][c] = r*c; } for (int r=1; r<=5; r++) { //'\t' - specijalen znak za TAB for (int c=1; c<=5; c++) cout << " | " <<r << "*" << c << "=" << m[r][c] << "\t"; cout << endl; } return 0; }
Input data
Program output
no input
Execute
Language: ????????? | Memory: ???? KB | Time: ??? ms
Nothing has been executed, yet!