Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following Table 2 describes the orders received by Kenanga Restaurant for their Nasi Lemak Kukus for the last three days from two hotels. Write
The following Table 2 describes the orders received by Kenanga Restaurant for their Nasi Lemak Kukus for the last three days from two hotels. Write code for the following requirements: i. Declare and define two-dimensional array named Nasilemakorder that will store all the values shown in the Table 2. [2 marks] Day 3 200 Hotel/Day Day 1 Day 2 Hotel 1 180 160 Hotel 2 160 180 Table 2: Order Quantity 210 ii. Find the highest order received from these two hotels and display the output as follows: [5 marks) Expected output: Hotel 2, Day 3, 210 packs of Nasi Lemak Kukus
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started