#Hello i need help my assignment. I started the code. I just need help with the formula.
13 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @finite trench! Please use
/closeor theClose Postbutton 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.
I posted the screenshot for problem 3. I am having trouble with problem 3 number 4.
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!
could you be more specific on what you're having issues with?
im having issues with number 4 on how to do the formula
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.
can you show me an example or how to do it so i can visualize it
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.
my fault on the formatting