Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. void main() {
  2.  
  3. int pin = 1111;
  4.  
  5. printf("Please enter the default pin: ");
  6.  
  7. while ( pin != 1111 )
  8. {
  9. printf("Invalid input ");
  10. printf("Please enter the default pin again: ");
  11. scanf("%d", &pin);
  12.  
  13. if (pin == 1111)
  14. {
  15. //The program continues
  16. }
  17.  
  18. }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement