BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:American Young Coder
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20200308T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20201101T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20201031T150000
DTEND;TZID=America/Los_Angeles:20201031T160000
DTSTAMP:20260429T135225
CREATED:20201107T065933Z
LAST-MODIFIED:20201107T071705Z
UID:5069-1604156400-1604160000@www.ayclogic.com
SUMMARY:3 PM - Intro to Java
DESCRIPTION:Homework:\n\nLast week in the class\, we did tell me your age program. Change the program so it will continuously ask user about his/her age until the user enter “quit” or “exit”\nCreate “Magic 8 Ball” game according to the following instructions\n\nFor you to be able to create above game\, you need to know how to select a random number in Java. Below is the example of code how to do it\nCreate a new Java file GenerateRandom.java in your IntelliJ\nCopy and paste below code and run below code couple of times and you will see that it will print a different number between 0 to 24 every time you run.\n \n\nimport java.util.Random;\npublic class GenerateRandom {\n    public static void main( String args[] ) {\n      Random rand = new Random(); \n      int upperBound = 25;\n      //generate random values from 0-24\n      int int_random = rand.nextInt(upperBound); \n      System.out.println("My random number is "+int_random);\n    }\n}\n\n\nIf you want to generate random number between 0 to 8\, you need to change below from\nint upperBound = 25;\n into  \nint upperBound = 9;\n\nThe remaining instructions on how to create the Magic 8 Ball game can be found by clicking here
URL:https://www.ayclogic.com/event/3-pm-intro-to-java-27/
CATEGORIES:Introduction To Java
END:VEVENT
END:VCALENDAR