Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  5.  
  6. int main(int argc, char *argv[]) {
  7. int a;
  8. printf("Podaj godzine smierci papiezaka");
  9. scanf ("%d",&a);
  10.  
  11.  
  12. for(;;)
  13. {
  14.  
  15. if(a ==2137)
  16. {
  17. printf(" XD PAPIEZ UMARL");
  18. printf("\n");
  19.  
  20. }
  21. else
  22. {
  23. printf(" ZLA GODZINA XD");
  24. printf("\n");
  25. }
  26. }
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement