PRD for ES1_HW_1 - Sharu2003-27/PRD.ES-and-FP GitHub Wiki

PRD for ES1_HW_1

**1> Program 1: **

  1. Used const for declarations.
  2. Used let to find current age.
  3. if condition is also used.

**2> Program 2: **

  1. Used const for declarations.
  2. Used let to find passenger is applicable or not to get discount.
  3. if else condition is also used.

**3> Program 3: **

  1. Used appropriate declarations.
  2. Using if else condition to find num3 is largest number or not.

**4> Program 4: **

  1. Used appropriate declarations.
  2. if else condition is also used.

**5> Program 5: **

  1. Used appropriate declarations.
  2. if, else-if, else condition is also used to find the number is positive or negative or zero.

**6> Program 6: **

  1. Used appropriate declarations.
  2. Used let to find the students with highest marks.
  3. if, else-if, else condition is also used.