Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int number;
- printf("Guess the correct number...\n");
- while(scanf("%d",&number)){
- if(number == 100 || number == 102 ){
- printf("Congratulations!!! You guessed the correct number.\n");
- break;
- }
- }
- getche();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement