Question: Rules : Do the code using C++ Conditional statements (If..else, For loop, while loop only), usr Selection statements (wherever applicable, think logically),Suppose the customer wants
Rules :
Do the code using C++ Conditional statements (If..else, For loop, while loop only), usr Selection statements (wherever applicable,
think logically),Suppose the customer wants to see his monthly bill amounts., Create an 2D array (Like an excel file).Row: months (In numbers:1, 2....),Columns: customers monthly bill amount (1k, 2k,...), Run a for Loop,Run a while loop in every block comment,Generate more similar Loops (for, while in block comment):
=========================================================================================================================================
Suppose, you are an ATM machine of a bank. One of the customers came
to you to pay his/her bill.
First welcome him to the bank (inside a double quotation).
You have to collect his information (Customer ID, Name)
Ask each single question, confirm his answer and then ask the next question.
Inform each information with proper tabs.
After collecting and providing his information, thank him/her for his/her
patience. And convey a note to wait, then use an alert sound.
Then provide a confirmation note mentioning whether his/her account is
found based on his/her provided information with an alert sound.
Welcome the customer afterwards. Ask the customer whether he/she is ready
to pay his bill and ask his/her answers either by 1 or 0 and provide his/her
answer.
If not (0not ready), then provide the further steps in a block comment.
Confirm him/her that he/she is not ready to pay his/her bill at this moment
Also thank him/her for his/her patience. Wish to see him/her again! Convey Bye bye.
If yes (1ready), further proceed.
If matches(1ready), confirm using Boolean datatype whether he/she ready
to pay his/her bill [this is not a part of cin].
Welcome the customer afterwards with a tab, two newlines and a double
quotation sequentially (Hint: space between two lines. Next sentence starts
with a new tab, the sentence should be inside a double quotation sign).
Ask whether he wants to pay the full or partial amount. Accept his answers in terms
of 1 or 0.
If partially (0Partial), then provide the further steps in a block comment.
Request him to provide the partial amount that he/she wishes to pay now.
Receive and provide properly.
If the full amount (1full), further proceed.
Mention him, okay, to wait a bit. And request him/her to pay his/her bill once he/she
hears a beep sound. And use an alert sound on a newline. (the whole sentence
should in one line)
Then mention him that his/her payment is clear now. Thank him/her. Ask him/her
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
