Name:
Course:
CMPSC
Due Date:
Thursday, August 8th by 11:59pm
Topic:
Final Project
- Application overview
You are going to create an application that will run 4 different programs. This program will be driven by a menu
screen. The user will be able to choose which program to enter using the menu screen. Also, the user will only be able
to exit using the menu screen.
(Note: The screen prints you see are only examples. Your application can and should look different than the
examples.)
- Application Components
- Welcome Screen
Most applications welcome a user before the start of the application. You will create a welcome screen. The figures
below are examples of welcome screens.
(Note: Again, this is only an example. Your application cand and should look different from the one below)
- Menu
This application is driven by a menu. You also should have some sort of error checking.
Below is an example of the menu screen:C. Calculate Sales Tax on Multiple Items
This component will calculate the sales tax on multiple items.
Needed:
- Introduction screen
- The user will enter the number of items
- The user will enter the name of the items
- The user will have the ability of entering in the sales tax rate
- The sales receipt will display the name and price of each item
- It will display to the user the total sales price before taxes
- It will display to the user the total sales price after taxes
- Ask the user to run the this component again
Below is an example of the menu screen:
(Note: Again, this is only an example. Your application cand and should look different from the one below)D. Calculate Sales Items from a File
In this component, you will calculate sales items from a file. The component will also calculate the sales tax, display a
printout to the screen, and save the output to a file.
Needed:
- Introduction screen
- Read sales items and their prices from a file.
- See the figure below for the layout of the file.
- The name of the input file needs to be cost.txt.
- Calculate the sales prices for each sales item.
- Calculate the sales total.
- Calculate the sales tax total.
- Calculate the grand total.
- Your program’s output will resemble the figure below.
- Your program will also output to a second file.
- See the figure below for the layout of the second file.
- The second file needs to be called costout.txt.
- Ask the user to run this component again.E. Balance Check Book
In this component, you will create a program that will balance the user’s checkbook. The user will enter the necessary
information needed to balance a checkbook.
Needed:
- The user will be asked to enter-in the necessary information to balance a checkbook. (e.g. beginning balance,
etc)
- Print a balance sheet report to the screen. (Below is an example of the report)
- Print a copy of the balance sheet report to a file
- Ask the user to run this component again
Below is an example of the output for this component
(Note: Again, this is only an example. Your application cand and should look different from the one below)
- Conversion Utility
This program will convert time from Military to
Civilian or from Civilian to Military times.
Needed:
- Ask the user to either a time in Military or Civilian (As seen in the figure below)
- Show both time in Military or Civilian
- Ask the user to run the this component again
Below is an example of the output for this component
(Note: This is only an example. Your application should look different from the one below)G. Error Checking
Your application will need to have an error checking component. If the user types in an invalid entry, they will need to
be notified of this and ask to re-enter the Main Menu.
- Thank You Screen
Your application is required to have a screen thanking the user for using your application.
标签:application,overview,screen,component,sales,will,Application,CMPSC,user From: https://www.cnblogs.com/vx-codehelp/p/18341626