D1935827V / spring_portfolio

Tri 1: Java and Spring Intro
0 stars 0 forks source link

Dane: Hackathon #1 #2

Closed D1935827V closed 3 years ago

D1935827V commented 3 years ago

Instructions for the In-Class assignment: Create 5 integers, grade1, grade2, grade3, grade4, and grade5 Calculate the average of grade1 and grade2 and store it in a variable called avg12 Calculate the average of grade3 and grade4 and store it in a variable called avg34 Then, calculate the average of avg12, avg34, and grade 5 and store that in a variable called finalAvg Print finalAvg to the console

D1935827V commented 3 years ago

image Code: https://github.com/D1935827V/spring_portfolio/blob/master/src/main/java/com/example/sping_portfolio/Hackathon_1/Dane_Method.java