Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Alice, a graphic designer of Moonstar Company asks for your help to design a program that can help her track her budget and expenses for

Alice, a graphic designer of Moonstar Company asks for your help to design a program that can help her track her budget and expenses for each month in 2022.

The program shall prompt the user to key in the budget and expenses amount for each month. The program should be able to perform the calculation and display the relevant message to the screen based on the conditions as stipulated in Table 2.1:

After all information has been keyed in, the program will display the expenses in a year. The program also should display the number of times the monthly budget is "within budget" or "over budget".

image text in transcribed

image text in transcribed

Alice, a graphic designer of Moonstar Company asks for your help to design a program that can help her track her budget and expenses for each month in 2022. The program shall prompt the user to key in the budget and expenses amount for each month. The program should be able to perform the calculation and display the relevant message to the screen based on the conditions as stipulated in Table 2.1: After all information has been keyed in, the program will display the expenses in a year. The program also should display the the monthly budget is "within budget" or "over budget". Construct the FLOWCHART for this program. [Note: Assume all inputs are correct.] Sample output: Key in budget (RM) >5000 Key in expenses (RM) >200 Do you want to add another expense? (Y/N) : Y Key in expenses (RM) >3000 Do you want to add another expense? (Y/N):N Total expenses: 3200 Great! Within budget. Key in budget (RM) >3000 Key in expenses (RM) >3000 Do you want to add another expense? (Y/N):N Total expenses: 3000 Great! Within budget. Key in budget (RM) >2000 Key in expenses (RM) >1000 Do you want to add another expense? ( Y/N) : Y Key in expenses (RM) >1500 Do you want to add another expense? (Y/N):N Total expenses: 2500 Oops! Over budget. Overall total expenses : 50000 Under budget : 9 time (s) Over budget : 3 time (s) [Note: The output has been simplified for demo purpose.] [Note: Assume all inputs are correct.] [Total : 40 mark

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

10. What is meant by a feed rate?

Answered: 1 week ago