Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int yes, no, controls, controlsConfirm;
- printf("Hello and welcome to the famous gay pop quiz!\nThere are only two options, yes or no!\nIf you enter a letter you'll break the program.\n");
- while (controlsConfirm!=yes)
- {
- printf("Choose your controls.(Integers only for now)\nFor Yes(on the left)\n>>");
- scanf("%d", &yes);
- printf("For No(on the right)\n>>");
- scanf("%d", &no);
- printf("So you want \"%d\" as yes and \"%d\" as no?(Press 1 for yes and 0 for no)\n", yes, no);
- scanf("%d", &controls);
- if (yes==no)
- {
- printf("Nope you will not break the game that easily.\n");
- controlsConfirm=no;
- }
- else if (controls==yes)
- controlsConfirm=yes;
- else if (controls==no)
- controlsConfirm=no;
- else
- {
- printf("Please input either 1 or 0.\n");
- controlsConfirm=no;
- }
- }
- int first=yes, exit=no, extra, secondExtra, answer, secondAnswer, useless, kaiYan=no, daniel=no;
- while (exit==no)
- {
- while (first==yes)
- {
- printf("Are you gay?(%d/%d)\n>>", yes, no);
- scanf("%d", &answer);
- if (answer==yes)
- {
- printf("You are offically gay.\n");
- first=no;
- }
- else if (answer==no)
- {
- printf("Please try again, no is not a valid answer.\nOh wait a");
- while (kaiYan==no)
- {
- printf("re you a Kai Yan?(%d/%d)\n>>", yes, no);
- scanf("%d", &extra);
- if (extra==yes)
- {
- kaiYan=yes;
- first=no;
- }
- else if (extra==no)
- {
- printf("Then I think you will need to think twice.\n");
- kaiYan=yes;
- first=yes;
- }
- else
- {
- printf("That's no valid, you have to put YES:%d or NO:%d, a", yes, no);
- kaiYan=no;
- }
- }
- kaiYan=0;
- }
- else printf("DAFUQ M8\n");
- }
- //first extra part of program
- if (extra==yes)
- printf("So are you with Zhehao?(%d/%d)\n>>", yes, no);
- answer=no;
- while (extra==yes)
- {
- scanf("%d", &answer);
- if (answer==yes)
- {
- printf("Yup I knew it!XD\n");
- extra=no;
- }
- else if (answer==no)
- {
- printf("Are you with someone else?(%d/%d)\n>>",yes ,no);
- scanf("%d", &secondAnswer);
- if (secondAnswer==yes)
- {
- extra=no;
- secondExtra=yes;
- }
- else if (secondAnswer==no)
- {
- printf("You will forever be alone and flat haha!XD\n");
- extra=no;
- secondExtra=no;
- }
- else printf("Wut did u just say? Please reply properly...\n");
- }
- else printf("Please try again\n>>");
- }
- //second extra part of program
- if (secondExtra==yes)
- {
- printf("So who are you with?\n");
- answer=no;
- }
- while (secondExtra==yes)
- {
- printf("Are you with Ambao?(%d/%d)\n>>", yes, no);
- scanf("%d", &secondAnswer);
- if (secondAnswer==yes)
- {
- printf("Zhehao will be very disappointed with you, Kai Yan.\nBe happy with Ambao though...\n");
- secondExtra=no;
- }
- else if (secondAnswer==no)
- {
- while (daniel==no)
- {
- printf("Are you back with Daniel?(%d/%d)\n>>", yes, no);
- scanf("%d", &answer);
- if (answer==yes)
- {
- printf("You can now go back to Daniel, Zhehao is really very sad now...\n");
- daniel=yes;
- secondExtra=no;
- }
- else if (answer==no)
- {
- printf("So who are you with now? Enter a number.(%d or %d)\n>>", yes, no);
- scanf("%d", &useless);
- if (0<=useless<=1)
- {
- printf("\"But a number?\", you ask? Guess what? IDC, Zhehao cri naw anyway...\n");
- daniel=yes;
- secondExtra=no;
- }
- }
- else
- printf("plz dun brek prgrem, i cri evertim\nPs: yes i said any number but lolololollololoolol");
- }
- }
- else
- printf("Say wut, I want a truthful answer.\n>>");
- }
- printf("Congratulations! You have finished the quiz!\nDo you want to exit dis quiz?(%d/%d)\n>>", yes, no);
- scanf("%d", &exit);
- if (exit==no)
- first=yes, exit=no, extra=no, secondExtra=no, answer=no, secondAnswer=no;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement