Answer to Question #160744 in Visual Basic for Dev

Question #160744

1. Prompt for sibling’s name. Determine which sibling is the first, second, and third sibling.

2. Assign current savings for each sibling and display all of them.

3. By using loop, prompt each sibling on how much they usually spend every month and based on their answer, display the message:

Pocket Money Spent

Message

< 0

Negative! Are you serious?


You didn’t spend any money. Are you lying?

> 0 and < 100

Below average. What a good person!

≥ 100 and < 200

Average.

≥ 200

Above average. Consider to spend less!

4. By using loop, prompt for youngest sibling’s pocket money given by their parents. Pocket money will increase by RM10 from the youngest to oldest siblings.

5. Calculate total money for each sibling.

6. The sibling with the most amount of money will pay for dinner with a message “(Sibling), its your turn to pay for dinner!”

7. Display error message “Wrong input” if you key in negative number.


1
Expert's answer
2021-02-04T11:20:23-0500
Dear Dev, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS