Here are some of the programs we studied in class: Block.java OddEven_if.java ManyElseIf.java For.java Switch.java BreakContinue.java MultiplicationTable.java Average.java PrintMin.java Valentine_2.java
A BOARD OF DIGITS
1 0 0 0 0 0 0 0 0
2 2 0 0 0 0 0 0 0
3 3 3 0 0 0 0 0 0
4 4 4 4 0 0 0 0 0
5 5 5 5 5 0 0 0 0
6 6 6 6 6 6 0 0 0
7 7 7 7 7 7 7 0 0
8 8 8 8 8 8 8 8 0
9 9 9 9 9 9 9 9 9
Can you find the pattern?
90 or above gets an A 80 to 89 gets a B 65 to 79 gets a C 50 to 64 gets a D anything else gets an FMake sure to check the input: if the number is negative or greater then 100, issue a message and ask the user to re-enter the number.