Day 6 Task:-
Task 1: => The Movie class has a static method getPG that takes an array of Movie instances as input. => It filters the movies with a rating of "PG" using the filter method. => Each movie in the resulting array is then formatted into a descriptive output sentence. => Stating its title, rating, and studio, and printed to the console using console.log().
Task 2: => Converting UML diagram to Typescript class.
Task 3: => The 'person' class holds all details of a person including name,age,gender,maritalstatus,contact and email
Task 4: => Calculating Uber price. => The price is considered Rs.50 per Kilo Meter.