American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3:30 PM – Intro to Java – William

October 28, 2023 @ 3:30 pm - 4:30 pm

Today We Did
  1. Learned about Java methods
    1. Method overloading
    2. Functions with/without return values
Homework
  1. Create Oct28_MethodsHW.java
    1. Create a new method convertFromFahrenheitToCelcius. It has one parameter int fahrenheit. Inside the method, it will convert fahrenheit parameter into celcius by using this formula (F − 32) × 5/9 = C . Return the result and print a statement regarding the conversion.
    2. Create another method addThreeNumbers() that accepts 3 numbers as arguments and returns their sum. Call the method in the main() class and print a statement in the form of an equation (e.g. 1 + 2 + 3 = 6).

Upload homework to your assigned Google Drive folders by Friday night.

If you have any questions, please email me at williamsmith@ayclogic.com.

Details

Date:
October 28, 2023
Time:
3:30 pm - 4:30 pm
Event Categories:
,
Verified by MonsterInsights