Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 455 Bytes

ex_131.md

File metadata and controls

11 lines (10 loc) · 455 Bytes

Exercise 131

  • Create a new index131.js file
  • Define a femaleStudents array and assign 5 students
  • Define a maleStudents array and assign 5 students
  • Define a students array and assign all students name using the femaleStudents and maleStudents arrays
  • Sort the students list
  • Show the following output:
    1. Each femaleStudents name using numeric indexes
    2. Each maleStudents name using while
    3. Each students name using for