Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

Students also viewed these Databases questions