Answer to Question #267710 in Java | JSP | JSF for candy

Question #267710

3.

1 student who passes all modules exam and attendance,

1 student who passes all modules exam but fails some attendance,

1 student who fails some module exam but pass all modules attendance,

1 student who fails some modules in both exam and attendance

 

use array to record the 4 student profiles


1
Expert's answer
2021-11-19T10:02:38-0500
public class Main {
    public static void main(String[] args) {
        boolean[][] profiles = {
                {true, true, true, true, true, true, true, true},
                {true, true, true, true, true, false, true, true},
                {true, false, true, true, true, true, true, true},
                {true, false, false, true, true, false, false, true}};
    }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS