msaada kwa swali hapo chini.
Write Java class(es) which accept ten (10) integer values ranging between zero (0) and a
hundred (100), calculates the average mark, assigns an appropriate grade to the average mark
and outputs the average mark with the corresponding grade (use the university convention of
grading).
In your source codes;
The user has a choice to either input values as command line arguments or the
program prompts for the input with the Scanner utility.
If he/she chooses one method of input, the other should be skipped.
There should be mechanism(s) to check that the integer values entered are valid that
is, they range between zero and a hundred inclusively and there are ten integer values
entered.
There should be a feedback mechanism to inform the user if the values entered are
valid or not.
Whenever necessary, use exception handling technique.
Adhere to the fundamental object oriented concepts.
Write Java class(es) which accept ten (10) integer values ranging between zero (0) and a
hundred (100), calculates the average mark, assigns an appropriate grade to the average mark
and outputs the average mark with the corresponding grade (use the university convention of
grading).
In your source codes;
The user has a choice to either input values as command line arguments or the
program prompts for the input with the Scanner utility.
If he/she chooses one method of input, the other should be skipped.
There should be mechanism(s) to check that the integer values entered are valid that
is, they range between zero and a hundred inclusively and there are ten integer values
entered.
There should be a feedback mechanism to inform the user if the values entered are
valid or not.
Whenever necessary, use exception handling technique.
Adhere to the fundamental object oriented concepts.