### List of Exercises # 3

1) Reuse the function to convert Celsius to Fahrenheit made on exercise #2. But this time the celsius temperature should be informed in the input field below and the calculation done after pressing the button.

* To get the input's value, use .value instead of .innerHTML

oC
oF

2) Print in the list below the years when the World Cup of Soccer will happen from 2022 to 2050. Remember that the World Cup happens every 4 years.

World Cups from 2022 to 2050:

- Place each year inside an li here

3) Use the input fields below to inform two grades and the number of absences of a student. Follow the rules below to inform the result:

- Minimum 70% presence is required to be approved (total number of classes is 20)
- Minimum average of 6.5 is required to be approved
- If the student fails, we need to inform what was the reason (absences, insufficient grade or both.)
Grade 1
Grade 2
Absences
Print the student's result.

4) See below the list of sales of an online course.

        var sales = [

            {
                'student': 'Jason Gomes',
                'date': '10/06/2018',
                'amount': 34.99,
                'refundRequested': null

            },

            {
                'student': 'Carlos Blue',
                'date': '10/06/2018',
                'amount': 29.99,
                'refundRequested': null

            },

            {
                'student': 'Martin Heyes',
                'date': '11/06/2018',
                'amount': 39.99,
                'refundRequested': '13/06/2018'

            },

            {
                'student': 'Isabella Hopkins',
                'date': '11/06/2018',
                'amount': 29.99,
                'refundRequested': null

            },

            {
                'student': 'Andrew Walt',
                'date': '12/06/2018',
                'amount': 34.99,
                'refundRequested': null

            }

        ];

Fill the html table below with the sales and print the total amount of sales in the last line. Don't include the sales that had a refund requested.

Student | Date | Amount
--- | --- | ---
Student name goes here | Date goes here | Amount goes here
Total sold | Total goes here

### Contents