SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. #include <iostream>
  4.  
  5. #include <cmath>
  6.  
  7. #include <conio.h>
  8.  
  9. using namespace std;
  10.  
  11. void print(char); // прототип функции
  12.  
  13. int main()
  14. {
  15.     char x;
  16.  
  17.     cout << "\nVvodite simvoli"
  18.  
  19.         << "enter - okonjanie vvoda";
  20.  
  21.     do
  22.     {
  23.         x = getch();
  24.         print(x);
  25.     } while (x != 13);
  26.  
  27.     return 0;
  28. }
  29.  
  30. void print(char a) {
  31.  
  32.     cout << a << "\t";
  33.  
  34. }
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