...

/

Exercise 3: Calculate the Student's Total Marks

Exercise 3: Calculate the Student's Total Marks

In this exercise, you have to calculate a student's total marks using the concept of prototypes in constructor functions.

We'll cover the following...

Problem Statement

A constructor function called Student is given with the following parameters:

  • marks1
  • marks2

Important Note: Both marks1 and ...