My eight Web 2 students have just taken their final exam. It was very difficult so I decided to buy my 'A' students a new car. Here are their scores:

Student1: 89.4
Student2: 89
Student3: 90
Student4: 91
Student5: 89.3
Student6: 92
Student7: 99
Student8 :99.9

Let's use PHP to display the great news. We will use an array to store the values.

There are 8 grades in the array.

A new car for student 3!
A new car for student 4!
A new car for student 6!
A new car for student 7!
A new car for student 8!