Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Plz help in this C program ! Thanx 1 Problem Create a game that categorizes your

ID: 3889754 • Letter: P

Question

Plz help in this C program ! Thanx

1 Problem Create a game that categorizes your user based on the response to questions asked by the program. For example, the gimmick of your game could be, "Are you a Rick or a Morty", (if you have never seen this show, watch it, i is amaz- ing). Your game should include at least 5 questions with at least 4 answer choices to your user on each question. Your categorization should have at least three buckets and should be based on the summed value of the answer selections of your user. You wil also want to put a control in that makes sure your user only uses valid input

Explanation / Answer

#include <stdio.h>

int main(void)
{
   printf("Are you a Rick or a Morty? Let's find out. Select the option 1,2,3 or 4 for each of the questions and find out. ");
   printf("Which is your favourite character? 1.Rick 2.None 3.Both 4.Morty ");
   int c1;
            scanf("%d",&c1);
            fprintf("If you had to kill one of the characters of the show, who would it be? 1.Rick 2.Chris 3.Summer 4.Morty");
   int c2;
   scanf("%d",&c2)
   fprintf("who would you go on a vacation with? 1.Girfriend 2.Rick 3.Morty 4.Dad");
   int c3;
   scanf("%d",&c3);
   fprintf("Why do you watch the show? 1.Rick 2.Neither 3.Both 4.Morty ");
   int c4;
   scanf("%d",&c4);
   fprintf("Did you enjoy this quiz? 1.Definitely yes 2.Yes 3.Definitely no 4.No ");
   int c5;
   scanf("%d",&c5)A
   if((c1+c2+c3+c4+c5)<10)
   fprintf("You're a Rick!");
   else
   fprintf("You're a Morty!");
   return 0;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote