Ask the user to enter
- Name
- ID
- File Name
Randomly choose five grades for that person from 1 to 100 and store them in an array that can hold five integers.
Then output the name, ID, and those five grades to the screen and save the output into the specified file.
The file will look like:
220181234
Ahmed Ihab
Grade 1 : 60
Grade 2 : 75
Grade 3 : 30
Grade 4 : 96
Grade 5 : 63
Grade 2 : 75
Grade 3 : 30
Grade 4 : 96
Grade 5 : 63
Note:
Write the File using Buffered Writer