Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(int argc, char* argv[])
- {
- int x;
- char y[100];
- while (x != 1 && x != 1337 && y != "SpookyPassword")
- {
- printf("enter the password to unlock the secrets\n");
- scanf("%d", &x, "%c", &y);
- if (x == 1)
- {
- printf("I am the number 1 coder\n\n");
- }
- else if(x == 1337)
- {
- printf("you have found the secret to becoming the best csgo player, it is to cheat. xD\n\n");
- }
- else
- {
- printf("that is not one of the listed passwords\n\ntry again\n\n");
- }
- if(y == "SpookyPassword")
- {
- printf("hello you spookster if this works");
- }
- else
- {
- printf("that is not one of the listed passwords\n\ntry again\n\n");
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement