« All Events
4 PM – Indo – Intro to Java – Joel
November 22 @ 4:00 pm - 5:00 pm
Today we did:
- We finished the Magic8Ball version 2 and started with Java methods.
Homework:
- Similar to the way we made the Nov21_Methods object, and accessed the application_loop method using that object, create a new class called Nov21_MethodsHomework.java and
- 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 . You have to return the result. This is very similar to what we did in the class with sayAyclogic method.