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
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}};
}
}
Comments
Leave a comment