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