SHARE
TWEET

Untitled

a guest Sep 16th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3.  
  4. char n;
  5.  
  6. int main() {
  7.     using namespace std;
  8.     setlocale(LC_ALL, "Rus");
  9.     cout << "Введите символ из которого будут построены квадраты" << "   ";
  10.     cin >> n;
  11.     system("cls");
  12.     cout << n << n << n << "\n" << n << n << n << "\n" << n << n << n << "\n";
  13.     system("pause");
  14.     system("cls");
  15.     cout << n << n << n << "     " << n << n << n << "\n" << n << n << n << "     " << n << n << n << "\n" << n << n << n << "     " << n << n << n << "\n";
  16.     system("pause");
  17.     system("cls");
  18.     cout << n << n << n << "     " << n << n << n << "\n" << n << n << n << "     " << n << n << n << "\n" << n << n << n << "     " << n << n << n << "\n" << "\n" << "\n" << "\n" << "\n";
  19.     cout << n << n << n << "\n" << n << n << n << "\n" << n << n << n << "\n";
  20.     system("pause");
  21. }
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