Question: Write a statement to create a procedure which calculates and displays the average age of the passengers. Create a statement to invoke the procedure. Question

Write a statement to create a procedure which calculates and displays the average age of the passengers. Create a statement to invoke the procedure. Question 5 [13 Marks] Modify the procedure created in Question 4 to accept destination and total number of visits as input. The procedure must check if Germany was visited more than ten times, and then display the minimum age of the passengrs. If Germany was visited less than ten times, display the maximum age of the passengers. Create a statement to invoke the procedure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
