add solving the problem

pull/859/head
Yuliia Mustafina 3 years ago committed by GitHub
parent d317b4f7c6
commit 06648f28ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,6 +31,14 @@ let allStudents = [
] ]
let studentsWhoPass = []; let studentsWhoPass = [];
allStudents.map((grades) => {
if (grades <= "C" || grades >= 3) {
studentsWhoPass.push(grades);
}
});
console.log(studentsWhoPass);
``` ```
## Rubric ## Rubric

Loading…
Cancel
Save