Hello, I am new to java and I was wondering if you guys could help me solve this problem:

Your history instructor gives three tests worth 50 points each. you can drop one of the first two grades. your final grade is the sum of the best of the first two grades and the third grade. Given three test grades, write a program that calculates the final letter grade using the following cut-off points. The output should list all thee test grades, state what test was dropped and the final letter grade.

>=90 A
<90, >=80 B
<80, >=70 C
<70, >=60 D
<60 F

what have you coded so far?

## All 3 Replies

what have you coded so far?

what have you coded so far?

That is my problem I don't understand how to put it togather....I know how to get parts of the code...I just don't know how to put it all togather

``````average =(test1+test2+test3)/3;
{
if(average1>=90)
else if(average1>=80)
else if(average1>=70)
else if(average1>=60)
else

Your history instructor gives three tests worth 50 points each.

Is this given in the program or is this user input?

``average =(test1+test2+test3)/3;``