I need a program that will need to do the following for me in order to keep track of grades or at least how to get started using an Array:

Ask the user for the # of Math homework assignments
Ask the user for the total points possible for Math homework
Ask the user for the # of English homework assignments
Ask the user for the total points possible for English homework
Ask the user for the score on the Math final
Ask the user for the total points possible on the Math final
Ask the user for the score on the English final
Ask the user for the total points possible on the English final
Display the percentage for each of the four categories
Display the final grade percentage
Display the final grade according to the scale below:

90-100%= a
80-90% = b
70-80% = c
60-70% = d
<60% = E

Recommended Answers

All 4 Replies

You might want to read the rules of this forum. We only help those who have shown effort, which you have not shown any. So unless your offering to pay somebody...do some work!

So what's your question?

how to get started using an array:
int[] arr = new int[10000];

then try using if statements to output the grades. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.