American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro To Java – Brandon

October 12 @ 5:00 pm - 6:00 pm

What we learned:
  1. We learned how to use random
  2. Use it alongside while loop and scanners
  3. We learned how to get a random element in the array
Homework:
  1. Create a class called “October12_Magic8Ball_HW”
  2. Do the one here https://www.ayclogic.com/intro-to-python/magic-8-ball/
  3. Magic 8 Ball (Enhanced)
    Create a list with the answers
    “maybe”, “absolutely”, “I don’t think so”, “try again later”, “Cencentrate and ask again”, “My reply is no”

    Scan input, when user says stop the program stops
    and print out one of the answers inside the for loop

Details

Date:
October 12
Time:
5:00 pm - 6:00 pm