1.2 - Lab 3

Now we will complete the following program to decide if a student passes a course or not.

The course has 3 tests, you are given the students' score in each test as three integer variables between 0-100, test1Score, test2Score, test3Score

The student will pass the course if they get a total of at least 150 points out of 300 in the tests, complete the following program to output true if the student passes the course or false if they don't pass.

Example 1

int test1Score = 50;
int test2Score = 60;
int test3Score = 55;

The student got a total of 50 + 60 + 55 = 165 so you should output true

Example 2

int test1Score = 40;
int test2Score = 49;
int test3Score = 60;

The student got a total of 40 + 49 + 60 = 149 so you should output false

Test your solution here
when it passes, copy it and submit it here so your coach can grade it.