A-4 Fill the form.
Suppose you are a web developer teacher that teaches 3 different types of courses. 'JS course', 'PHP course' and 'Ruby course' in an online platform. You ask for feedback from 10 people that have taken various courses from you (but each person only one course).
Create an object for each client that holds student's full name in one property, his level of satisfaction from 1-100 from the services you have offered him and the product course he has bought from you.
ex.
{fullName: 'Kostas Diakogiannis', courseHasTaken: 'PHP Course', levelOfSatisfaction: 45}
Create 10 objects like that and store them in an array called clients.
For every object add a new property that is going to be a string and it's value depends on levelOfSatifaction value.
For example if the levelOfSatisfaction is more than 80 add a new property with a name of stateOfHappy and assign to it a 'Found the course perfect'.
For just more than 50 assign the value into it 'Content overall',
For 50 or lower, assign a value of 'Customer is complaining, potential refund is going to be asked'.
After that, calculate the average satisfaction level per course. Store the results for each into an array and print the title of the course that has the biggest average of the three courses.