SHARE
TWEET

Untitled

a guest Sep 20th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6.     char x [20][20];
  7.    
  8.     int i,j,N;
  9.     cout<<"Unesite broj redova i kolona"<<endl;
  10.     cin>>N;
  11.     cout<<"Upisali ste niz"<<endl;
  12.     for (i=0;i<N;i++)
  13.         {
  14.             for(j=0; j<N; j++)
  15.             {
  16.                 x[i][j]='*';
  17.             }
  18.         cout<<endl;
  19.     }
  20.     for(i=0; i<N; i++)
  21.     {
  22.         for(j=0; j<N; j++)
  23.         {
  24.             cout<<"*";
  25.         }
  26.         cout<<endl;
  27.     }
  28.    
  29.     return 0;
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top