lab7-991

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <time.h> using namespace std; int main() { srand((unsigned) time(NULL)) int n=4,m=5; int table[n][m]; //filling the table for(int i=0;i<n;i++) { for(int j=0;j<m;j++) table[i][j]=rand()%50; } //showing the content for(int i=0;i<n;i++) { for(int j=0;j<m;j++) cout<<" "<<table[i][j]; cout<<endl; } cout << "Hello World!"; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines