answer this question 20 points
Attachments:
Answers
Answered by
0
What is the answer.................
Answered by
0
You haven't specified whether the programme is conducted by protocols of JAVA, C++ or HTML. Nor you've mentioned the program you're using for the interface development like NetBeans, Visual Studios or anything. So, the best I can do for you is to provide you with a way of method so that you could mould it according to yourself.
We first have to select a row and then a rack, so I will explain it by using nested 'if' method. Because this method is used in all of the above mentioned languages.
if (row 1 is selected)
{if (the rack number specified by the
customer is equal to rack number 1)
*we use 'then' after 'if' if writing in C++
otherwise only brackets can be
used*
then (row number and rack numbers are displayed)
else if (the rack number specified by the
customer is equal to rack number 2)
then (row number and rack numbers are displayed)}
*we will rewrite the 'else if' statements until we reach rack number 10*
*closing 'else' statement ahead*
else
(Display that item is unavailable)
And now, we will repeat the complete section for further remaining 4 rows.
It is too long, I know. It could've been done by using loops, but can't help with it.
Best of Luck!
We first have to select a row and then a rack, so I will explain it by using nested 'if' method. Because this method is used in all of the above mentioned languages.
if (row 1 is selected)
{if (the rack number specified by the
customer is equal to rack number 1)
*we use 'then' after 'if' if writing in C++
otherwise only brackets can be
used*
then (row number and rack numbers are displayed)
else if (the rack number specified by the
customer is equal to rack number 2)
then (row number and rack numbers are displayed)}
*we will rewrite the 'else if' statements until we reach rack number 10*
*closing 'else' statement ahead*
else
(Display that item is unavailable)
And now, we will repeat the complete section for further remaining 4 rows.
It is too long, I know. It could've been done by using loops, but can't help with it.
Best of Luck!
manasvini:
gr8 person u r
Similar questions