Guest User

Untitled

a guest
Dec 13th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5. int main()
  6. {
  7.     int  c;
  8.     while (1){
  9.           if ((c=getchar())<' ')
  10.           continue;
  11.           if(c=='z')
  12.           break;
  13.           putchar(c);
  14.           }
  15.     printf("\nCitanie znaku bolo ukoncene.\n");
  16.     system("PAUSE");
  17.     return 0;
  18. }
Add Comment
Please, Sign In to add comment