The Greek Gods

Writing "AND" "OR" & "NOT" logic in pseudo-code and Raptor.

The Greek Gods

Purpose:

Write AND OR & NOT logic in pseudo-code and Raptor.
Requirements:

PART 1

In Notepad, write pseudo-code for the following. The object of the game is to determine who the player is, based on a series of questions.

Inputs Ask the player the following five Boolean questions and save the user's answers in variables.

Are you the son of ZEUS? y/n
Are you the son of HERA? y/n
Can you be burned by fire? y/n
Did you kill a monster? y/n
Did you win a battle? y/n
When you ask the questions, use "y" for yes and "n" for no. Processing You MUST use AND OR and NOT to complete this exercise.You MUST use the following information to determine the answer

Zeus and Hera have a son named Ares
Hercules, the son of Zeus and Leto, killed the monster, Hydra
Slaying a monster or winning a battle makes you Master Warrior
Children of Poseidon cannot be burned by fire
Remember :- you will ask only those questions I gave you

  • the answers will be yes/no
  • the only possible "gods" could be the four I have listed. Otherwise the logic will not work. In other words, if Apollo was answering the questions (he is not one of the 4 gods on my list) you would get a weird answer. So stick to those 4 answering the questions.
    Outputs

When you figure out the answer, output the answerThese are the answers you will use:

“You are Ares, the god of war”
“You are Hercules, the immortal hero”
“You are a Master Warrior of the Greek Gods”
“You are Otos the giant - the child of Poseidon”
"I don't know who you are"
Before you Submit :

Add comments to your code to clarify to me what you are doing.
Add an output in your program that reads, "Programmed By : " to every program you submit.
Test your program
PART 2 - Use RAPTOR to program the Greek Gods Game.Submit both the Pseudo code and the Raptor files.NOTE: Here are two ways to code NOT in Raptor.not(age >21)
(age != 21)

Extra Credit

IS IT YOUR FIRST TIME HERE? WELCOME

USE COUPON "11OFF" AND GET 11% OFF YOUR ORDERS