#Hello i need help my assignment. I started the code. I just need help with the formula.

13 messages · Page 1 of 1 (latest)

finite trench
teal kilnBOT
#

This post has been reserved for your question.

Hey @finite trench! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

finite trench
#

I posted the screenshot for problem 3. I am having trouble with problem 3 number 4.

teal kilnBOT
#

We won't do your homework for you. Try the problem first, and if you have a question on a specific part of the problem, or your implementation of the problem, we can help!

glad ridge
#

could you be more specific on what you're having issues with?

finite trench
#

im having issues with number 4 on how to do the formula

uneven bear
# finite trench

Okay, you don't ask the user to input the fine, but instead you use speed to calculate it.

#

also, use if statements for number 4, if(gpa>=3.5), and if it meets all requirements, ex: credit hours, then print that the person qualifies for the scholarship.

#

use the Scanner method to ask for all the requirements, then use if statements to see if the requirements are met.

finite trench
static yewBOT
#
            fine = ((speed-limit)*20) + 50;
            System.out.println("Total fine amount: " + fine);
        }
        else{
            fine = ((speed-limit)*20);
            System.out.println("Total fine amount: " + fine);
        } ```

This message has been formatted automatically. You can disable this using /preferences.

topaz citrus
#

my fault on the formatting