Consider the following short statement, then answer the questions that follow:

Crazy Chicken have designed their own food ordering application which offers customers discounts
based on the number of times they have ordered from the takeaway store.
Crazy Chicken currently has three Point of Sale systems in their store. At the end of
each day, the manager would like to know the average sales processed on the day.
Write the pseudocode for Crazy Chicken’s application that will ask the manager to
enter each Point-of-Sale System’s total sales for the day and then calculate and
display the average sales processed for the day

1. Initialize variables:

- total_sales = 0
- pos_count = 0
- average_sales = 0

2. Loop for each Point-of-Sale System:
- Ask the manager to enter the total sales for that system
- Add the total sales to the variable total_sales
- Increase the variable pos_count by 1

3. Calculate the average sales:
- If pos_count > 0, set average_sales to total_sales divided by pos_count
- If pos_count = 0, set average_sales to 0

4. Display the average sales to the manager.