Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int myInt = 6;
- int otherInt = 12 ;
- # You could also do int otherInt = myInt * 2 :P
- printf ("Please put in the number '6' or the number '12': ");
- cin >> userInt
- if (userInt == myInt)
- {
- printf("You entered: 6!\n");
- }
- else if (userInt == otherInt)
- {
- printf("You entered 6!\n");
- }
- else
- {
- printf("BITCH, can't you read?\n");
- }
- return 0
- }
Add Comment
Please, Sign In to add comment