Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1.     int value = -1;
  2.  
  3.     printf("Ganzzahl eingeben: ");
  4.     value = scanf("%d", &input);
  5.  
  6.     while(value == 0){
  7.         printf("   Bitte Zahl eingeben!\n");
  8.         printf("Ganzzahl eingeben: ");
  9.         value = scanf("%d", &input);
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement