Guest User

Untitled

a guest
Nov 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int c;
  5. int p = 1;
  6. while ((c = getchar()) != EOF) {
  7. if (c == '<') {
  8. p = 0;
  9. } else
  10. if (c == '>') {
  11. p = 1;
  12. }
  13. if (p == 1);
  14. putchar(c);
  15. }
  16. return 0;
  17. }
Add Comment
Please, Sign In to add comment