Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int w=0,s=0;
- char znak;
- cout<<"Wprowadz wysokosc, a nastepnie szerokosc: "<<endl;
- cin>>w;
- cin>>s;
- cout<<"Podaj znak graficzny: "<<endl;
- cin>>znak;
- for(int i=0;i<w;i++)
- {
- for(int j=0;j<s;j++)
- {
- cout <<znak;
- }
- cout<<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement