Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int i = 0,stevilo[i];
  9.     while(i < 4){
  10.         stevilo[i] = getche();
  11.         i++;
  12.     }
  13.     cout << endl;
  14.     i = 0;
  15.     while(i < 4){
  16.  
  17.         cout << (char)stevilo[i] << endl;
  18.         i++;
  19.     }
  20.  
  21.         return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement