Question: IN JAVA SELF STUDY Problem Description Students are required to spend at least 25 hours weekly for self-study on basic programming course. The weekly hours

 IN JAVA SELF STUDY Problem Description Students are required to spend

IN JAVA

SELF STUDY Problem Description Students are required to spend at least 25 hours weekly for self-study on basic programming course. The weekly hours that students spend on self-study are stored in a two-dimensional array. Each row consists of seven columns, stores a student's daily study hours. For example, the following array stores self-study hours for 8 students. Your program should be able to read the data and display total study hours for each student. Sun Mon Tue Wed Thu Fri Sat Student-1 2 4 3 4 5 8 8 Student-2 7 3 4 3 3 4 4 Student-3 3 3 0 3 3 2 2 Student-4 9 3 4 7 3 4 1 Student-5 3 5 4 3 6 3 8 Student-6 3 4 1 2 3 4 4 Student-7 3 7 4 8 3 8 4 Student-8 6 3 5 9 2 7 9 4 Input The first line of input is a positive integer N (N = 100) which indicates the number of students in the test case. Each of the following N lines contains 7 integers represent daily study hours for the student. Input is terminated by a test case where N is 0. Output The output should contain the percentage of student who studies more than 25 hours per week. The following N lines are the total study hours for each student, as shown in the sample output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!