« All Events
7:30 PM – Intro To Java – Bill
July 7 @ 7:30 pm - 8:30 pm
Your HW:
- Create a new Java class July_7_MethodsHomework.java
- 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 addFourNumbers method.
- Test it on finding out what 79 degrees F is in Celsius