Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Importantly, the text within the report should be in readable format, for example: Customer 1 : 1 Rice, 1 Grilled garlic shrimp, 1 minced lamb,

Importantly, the text within the report should be in readable format, for example:
"Customer 1: 1 Rice, 1 Grilled garlic shrimp, 1 minced lamb, in total spent xxx."
[Hint: The programme should be able to record multiple customers. Therefore, it may be worth to
encapsule the codes within Task 1 into a function now]
Task 3(35 marks):
The central office now would like to act based on the records collected from customer order. There
are some criteria that the office would like to examine (as shown below). Please generate five
customer order using the codes you wrote in Task 2. Now, write codes to generate the results
required from the office.
[Hint: Use string handling functions within 25%
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions