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:20210314T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20211107T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20211118T190000
DTEND;TZID=America/Los_Angeles:20211118T200000
DTSTAMP:20260428T161914
CREATED:20211119T041641Z
LAST-MODIFIED:20211119T041641Z
UID:10499-1637262000-1637265600@www.ayclogic.com
SUMMARY:7 PM - Intro To Java - Gamas
DESCRIPTION:Today We Do\n\nwe learned about Java methods\, with and without return values.\n\nHomework\n\nCreate a java file Nov18_MethodHomework.java\nInside this file\, create a method\n\nfavoriteSport(String sport)\nif the name parameter is “Volleyball” (non-casesensitive) print to the shell “Volleyball is a my favorite sport “.\notherwise print to the shell “<sport> is not my favorite sport”\n\n\nCreate another method\, this time method with return value:\n\nconvertFromFahrenheighToCelcius(int fahrenheit)\nit has one parameter: fahrenheit\nthe formula to convert from fahrenheit to celcius is\n\n\nCelcius = (F - 32) * 5/9\n\n\n\nSo what you have to do is subtract 32 from the parameter fahrenheit and then multiple with 5 and divide by 9.\nreturn the calculation.\nThe method needs to return a double data type.\n\n\nCall each of the methods.\n\nAdditional Exercises (Optional)\n\nInside Nov18_MethodHomework.java\, create method “run” which will display below menu continuously and depending on what the user choose\, will either call “favoriteSport” or “convertFromFahrenheighToCelcius”.\n\nSelect below:\n1. Enter your sport\n2. Convert Fahrenheit to Celcius\n3. Exit\nEnter your selection (1\,2 or 3): 1\n\nEnter a sport name: Basketball\nBasketball is not my favorite sport.\n\nSelect below:\n1. Enter your sport\n2. Convert Fahrenheit to Celcius\n3. Exit\nEnter your selection (1\,2 or 3): 2\n\nEnter a temperature in Fahrenheit: 100\n100 Fahrenheit is 37.77 Celcius.\n\nSelect below:\n1. Enter your sport\n2. Convert Fahrenheit to Celcius\n3. Exit\nEnter your selection (1\,2 or 3): 3\nBye bye
URL:https://www.ayclogic.com/event/7-pm-intro-to-java-gamas-3/
CATEGORIES:Introduction To Java,Java
END:VEVENT
END:VCALENDAR