Computer Science Canada Find My Error |
Author: | 324910991 [ Mon May 22, 2017 4:22 pm ] |
Post subject: | Find My Error |
Make this program work. _____________________________________________________________________________ var hobby, hue, emotion, season, day, selfdescribe, murder, description: int put "Answer these 8 questions to find out what element you might control in a parallel universe!" cls put "What is your favourite hobby?" % put "1 - Running" put "2 - Swimming" put "3 - Gardening" put "4 - Cooking" get hobby cls put "What is your favourite colour?" % put "1 - White" put "2 - Blue" put "3 - Brown" put "4 - Orange" get hue cls put "What emotion do you feel the most?" % put "1 - Nothing" put "2 - Sadness" put "3 - Boredom" put "4 - Anger" get emotion cls put "How would you describe yourself?" % put "1 - Calm" put "2 - Adaptable" put "3 - Strong" put "4 - Assertive" get selfdescribe cls put "How would others describe you?" % put "1 - Emotionless" put "2 - Weak" put "3 - Boring" put "4 - Threatening" get description cls put "What would you do if you were falsely accused of murder and got arrested for life?" % put "1 - You would forever try to convince people that hate you of your innocence." put "2 - You would commit suicide." put "3 - You would not do anything." put "4 - You would fight the judge who falsely accused you." get murder cls put "What is your favourite season?" % put "1 - Winter" put "2 - Spring" put "3 - Summer" put "4 - Autumn" get season cls put "What is your favourite time of day?" % put "1 - Night" put "2 - Dawn" put "3 - Day" put "4 - Twilight" get day cls if hobby+hue+emotion+selfdescribe+description+murder+season+day<=8 then put "Your element is air!" if hobby+hue+emotion+selfdescribe+description+murder+season+day<=16 then put "Your element is water!" if hobby+hue+emotion+selfdescribe+description+murder+season+day<=24 then put "Your element is earth!" if hobby+hue+emotion+selfdescribe+description+murder+season+day<=32 then put "Your element is fire!" end if |
Author: | Insectoid [ Mon May 22, 2017 4:53 pm ] |
Post subject: | RE:Find My Error |
How about no? |