Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iostream>
- #include <cmath>
- #include <conio.h>
- using namespace std;
- void print(char); // прототип функции
- int main()
- {
- char x;
- cout << "\nVvodite simvoli"
- << "enter - okonjanie vvoda";
- do
- {
- x = getch();
- print(x);
- } while (x != 13);
- return 0;
- }
- void print(char a) {
- cout << a << "\t";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement