Question: Program 1: You will use scanner class and ask users to enter numbers from 0 to 10 numbers. You will then extract only prime numbers
Program 1: You will use scanner class and ask users to enter numbers from 0 to 10 numbers. You will then extract only prime numbers and store it in the array. You also need to display entire array on the screen.(50 points)
Program 2: You will ask users to enter student name and number of absent days. You will then print a message according to below logic. NumberOfDaysAbsent < 5: ExcellentRecord NumberOfDaysAbsent < 10 and > 5: NeedAttention NumberOfDaysAbsent <15 and> 10: PoorAttendance
Program 3: You will use the scanner class and ask users following things. - StudentAge - StudentName - StudentAddress You need to only store the results in file if age>18
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
