Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MIST 3050 Business Applications Development Homework: Annual Expense Estimator (Variable, Data Type, printf) You are encouraged to form a team of 2 or 3 to

image text in transcribedimage text in transcribed

MIST 3050 Business Applications Development Homework: Annual Expense Estimator (Variable, Data Type, printf) You are encouraged to form a team of 2 or 3 to work on this homework. Each team submits only one copy of the homework. Submit your homework on Blackboard before the deadline. No late homework is accepted You wil implement a simple "Annual Expense Estimator" to tabulate your expense items. Ex penses are an important component of a personal income statement. The most accurate way of coming up with your income statement is to keep a record of all incomes and expenses. If year-round record keeping is not possible, professional financial advisers often ask you to keep track of all income and expense records for 2-3 months, then the records can be used to estimate the annual value. When no record is available at all, you can still estimate your annual expenses. One way to estimate is to list expense items according to their occurrence frequencies and the estimated amount each time the expense occurs. Then you can calculate the annual total of each item and the grand total of all expense items. Each item's annual total will be accumulated into a variable to obtain the grand total Your program should produce formatted output similar to the following table. The expense items in the table are for illustration purposes; you should use the opportunity to produce a list of items as complete as possible to best reflect your expenses. Identify and list at least six items. Item Coffee Grocery Phone Tuitiorn Frequency Amount 5.50 120.00 75.00 2 6,500.00 365 52 12 Annual Total 2,007.50 5,240.00 900.00 13,000.00 Total 31,408.50 * The". .." symbols here mean that additional items are omitted in the illustration. Your output should not have these . Hint: For left alignment, use "-" flag. For example, %-10s specifier make string left aligned; it uses at least 10 character spaces (filling white space or taking up more spaces as needed). Use Listing 2.1 as an example Implementation Your implementation must meet the following requirements Use variables of appropriate data types to represent the amount and frequency of various expense items The annual total of each expense item must be calculated in the program. For example suppose you spend $5.50 on coffee every day. If you store the item amount and frequency in variables coffee and coffeeFreq, the annual total amount for coffee is coffee*coffeeFreq . Use printf to produce the desired output Submission Create your write-up using a word processor (e.g., Word). For this assignment, make sure you include the following parts Title page. The title page should include the assignment information, your name(s), and a sentence summarizing what the program is about . Table of contents. List of all sections included in the submission. You do not need to have page number for each section . All sections. The required sections of this exercise include Overview. A brief description of the program: its function, input (the input is exepense information hard-coded in the program), and output Design and Implementation. A description of the design choices and structure of the program: class, methods, variables, and other notable functions used (e.g., printf) - Testing. Include screenshots to show the function (e.g., output) of the program -Discussion. Include the following discussions *Difficulties encountered and how you solved thenm * Sources of help you used * What did you learn in terms of programming? * What did you learn in terms of personal finance? * Any other lessons learned from the assignment Source code. Include source code as text, not images. Include comments in the source code to document your understanding of the code Note: t is important for you to include all required parts. A working program only counts 60-70% of the points, documentation accounts for the rest of the points

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

Database Systems For Advanced Applications Dasfaa 2023 International Workshops Bdms 2023 Bdqm 2023 Gdma 2023 Bundlers 2023 Tianjin China April 17 20 2023 Proceedings Lncs 13922

Authors: Amr El Abbadi ,Gillian Dobbie ,Zhiyong Feng ,Lu Chen ,Xiaohui Tao ,Yingxia Shao ,Hongzhi Yin

1st Edition

3031354141, 978-3031354144

More Books

Students also viewed these Databases questions