: Create a program like KBC game show where program ask user 3 different question one after another and the user should answer them. If the answer are correct then pop up the message as “you got the right answer” and must ask user does he/she wants to go for next question else quit the game show. If the answer is incorrect then the program should again show the message “sorry wrong answer” and the user is not allowed to continue. The question must contain 4 choices to select the best answer. Student can frame their own message the way they want. Show different types of output for the above program

To create a program like the KBC game show, you can use a programming language like Python. Here's an example program that asks the user three different questions and checks if their answers are correct:

```python
# Function to ask question and check answer
def ask_question(question, choices, correct_answer):
print(question)
for i, choice in enumerate(choices):
print(f"{i+1}. {choice}")

answer = input("Enter your answer (1-4): ")
if answer == correct_answer:
print("You got the right answer!")
return True
else:
print("Sorry, wrong answer!")
return False

# Define the questions and their details
questions = [
{
"question": "What is the capital of France?",
"choices": ["1. London", "2. Paris", "3. Rome", "4. Tokyo"],
"correct_answer": "2"
},
{
"question": "Which planet is known as the Red Planet?",
"choices": ["1. Venus", "2. Mars", "3. Jupiter", "4. Saturn"],
"correct_answer": "2"
},
{
"question": "What is the symbol for Iron in the periodic table?",
"choices": ["1. Fe", "2. I", "3. Au", "4. Ag"],
"correct_answer": "1"
}
]

# Start the game loop
for question in questions:
result = ask_question(question["question"], question["choices"], question["correct_answer"])

if result:
continue
else:
break
```

In this program, there is a function called `ask_question()` which asks a question, displays the choices, and checks if the user's answer is correct. The questions and their details are stored in a list of dictionaries called `questions`. Each question has the "question" itself, the "choices" presented, and the "correct_answer". The program then uses a loop to iterate through each question, calling the `ask_question()` function and checking the result. If the user answers correctly, they are asked if they want to go to the next question. If they answer incorrectly, the program stops and displays a "wrong answer" message.

This program can be customized by modifying the questions, choices, and correct answers within the `questions` list. You can also add more questions by adding additional dictionaries to the list.