American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

12 PM – Intro To Java – Gamas

December 18, 2021 @ 12:00 pm - 1:00 pm

Homework
  1. Continue with Dec2MethodHomework.java
  2. Add codes for number 2 and number 3.
  3. If you do it properly, it will behave like below
  4. Select below:
    1. Enter your sport
    2. Convert Fahrenheit to Celsius
    3. Exit
    Enter your selection (1, 2 or 3):1
    Enter your favorite sport: volleyball
    Volleyball is my favorite sport.
    
    Select below:
    1. Enter your sport
    2. Convert Fahrenheit to Celsius
    3. Exit
    Enter your selection (1, 2 or 3):1
    Enter your favorite sport: Swimming
    Swimming is not my favorite sport
    
    Select below:
    1. Enter your sport
    2. Convert Fahrenheit to Celcius
    3. Exit
    Enter your selection (1, 2 or 3):2
    Enter a temperature in Fahrenheit: 100
    100 Fahrenheit is 37.0 celcius
    
    Select below:
    1. Enter your sport
    2. Convert Fahrenheit to Celcius
    3. Exit
    Enter your selection (1, 2 or 3):123123
    Invalid Selection
    
    Select below:
    1. Enter your sport
    2. Convert Fahrenheit to Celcius
    3. Exit
    Enter your selection (1, 2 or 3):3
    Bye bye
  5. Also copy 2 methods from Dec2Methods.java into Dec2MethodHomework.java: addFourNumbers(n1,n2,n3,n4) and giveMeFamousActor(String gender) and add it as part of the new menu above.
  6. No class from Dec 24 to Jan2, see you on Jan 8, 2022.

Details

Date:
December 18, 2021
Time:
12:00 pm - 1:00 pm
Verified by MonsterInsights