Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <unistd.h>
  4.  
  5. int main()
  6. {
  7. int numero, counter=-2147483648;
  8. printf("Di un numero\n");
  9. scanf("%d", &numero);
  10. sleep(0.5);
  11. printf("\nabra... ");
  12. sleep(2.5);
  13. printf("\nkadabra...");
  14. sleep(2.5);
  15. if(numero==25)
  16. printf("25");
  17. else{
  18. while(numero!=counter)
  19. {
  20. counter++;
  21. }
  22. printf("\n%d\n", counter);
  23. }
  24. printf("Si te ha gustado el truco de magia, patreon.com/singiamtel\n\n");
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement