Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

7. LO.1, 2 Interpret this Regulation citation: Reg. 1.16310(a)(2).

Answered: 1 week ago