int main(void) {
int usr_num = 0; // The Number that the User inserts
int app_num = 56; // The Number that the Program is thinking of
// Welcome Message
printf("Hey. I'm thinking of a Number. Try and guess it and I'll tell you if you're right: ");
// Receive Input for the Number
scanf("%d", &usr_num);
// Determine if the User got it right
if(usr_num == app_num) {
// Print this if they got it right
printf("Yay! You got it right!\n");
} else {
// Print this if they got it wrong
printf("Sorry. That wasn't right. The Answer was: 56\n");
}
return 0;
}[/CODE]