Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int baris,kolom;
- cout<<"Masukkan Baris : ";
- cin>>baris;
- cout<<"Masukkan Kolom : ";
- cin>>kolom;
- cout<<"Hasil\n";
- for(int i=1; i <= baris; i++){
- for(int j=1; j <= kolom; j++){
- cout<<"*";
- }
- cout<<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment