Question
write code for a java program that will read user input from keyboard to do student attendance Required java line to beincluded in your code
write code for a java program that will read user input from keyboard to do student attendance Required java line to beincluded in your code as the first line: import java.util.Scanner; The following are details explaining how your java program will work after you run it: 1. Your program will first ask you to enter the number of total students in class. 2. After you enter the number (for example if you entered 15), the program will then ask you to enter names for each of the 15 students 3. For each student name you enter, the program will ask you to enter anA or P for attendance for each of the 15 students. 4. Next, the program will ask you to enter an 'A' or a 'P' which is theAbsent or Present status for each of the students 5. The program will then print the following two attendance reports: (a) Detailed Report (detailed report showing attendance status for each of the 15 students) (b) Summary Report (summary report showing how many total students are ABSENT and/or PRESENT) 6. The program will then ask you to enter 'Y' or 'N' if you want to run the attendance again 7. If you enter 'Y' The program will then restart all over or it will end if you entered 'N'
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started