Question: Need this in PHP. ASAP plz. Thank you The program for this Assessment will consist of five sections, each headed by the three-line comment below:

Need this in PHP. ASAP plz. Thank you

The program for this Assessment will consist of five sections, each headed by the three-line comment below:

//*********************************************************

//****Assessment 2 Program 3 Section X

//*********************************************************

(where X stands for the portion of the Assessment to follow.)

Assessment Requirements

Section 1:

Enter the comment with the section title as described above.

CarDealz used cars wants to build an app for their buyers to know what cars are on the approved list for purchase. You will create a structure with the string fields for Make and Model and one integer field ModelYear for the earliest acceptable model year for that car.

Create an array of these structures. For testing purposes, we will begin with three and the values for them will be {Ford, Mustang, 2010}, {Chevrolet, Silverado, 2008}, and {Dodge, Charger, 2012}.

Print to the console the statement, Section 1: Array of Structures.

Using a loop, display the full contents of each structure in the array.

Section 5:

Enter the comment with the section title as described above.

Print to the console the statement, Section 5: Queue

Create a queue.

Using your queue, enqueue the following values: 10,24, 31, 45, 19, 76

Using methods of the queue class, print a message telling how many items are on the queue.

Dequeue three items off of the queue and repeat your printed message telling how many items are in the queue.

Display the next item in the queue to be dequeued.

EXPECTED OUTPUT

Section 1: Array of Structures

Ford, Mustang, 2010

Chevrolet, Silverado, 2008

Dodge, Charger, 2012

Section 5: Queue

There are 6 items in the queue.

There are 3 items in the queue.

The next item to be dequeued from the queue is 45.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!