联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2024-08-04 08:36

Name:

Course: CMPSC

Due Date: Thursday, August 8th by 11:59pm

Topic: Final Project

I. 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.)

II. Application Components

A. 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)

B. 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:

1. Introduction screen

2. The user will enter the number of items

3. The user will enter the name of the items

4. The user will have the ability of entering in the sales tax rate

5. The sales receipt will display the name and price of each item

6. It will display to the user the total sales price before taxes

7. It will display to the user the total sales price after taxes

8. 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:

1. Introduction screen

2. 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.

3. Calculate the sales prices for each sales item.

4. Calculate the sales total.

5. Calculate the sales tax total.

6. Calculate the grand total.

7. Your program’s output will resemble the figure below.

8. 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.

9. 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:

1. The user will be asked to enter-in the necessary information to balance a checkbook. (e.g. beginning balance,

etc)

2. Print a balance sheet report to the screen. (Below is an example of the report)

3. Print a copy of the balance sheet report to a file

4. 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)

F. Conversion Utility

This program will convert time from Military to

Civilian or from Civilian to Military times.

Needed:

1. Ask the user to either a time in Military or Civilian (As seen in the figure below)

2. Show both time in Military or Civilian

3. 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.

H. Thank You Screen

Your application is required to have a screen thanking the user for using your application.


Final Program: Deliverable

Submit only the CPP file.

Rubric

Description Points

1 Welcome Screen/Menu 5 Pts

2 Calculate Sales Tax on Multiple Items 20 Pts

3 Calculate Sales Items from a File 20 Pts

4 Balance Check Book 20 Pts

5 Conversion Utility 20 Pts

6 Error Checking 5 Pts

7 Thank You screen 5 Pts

8 Documentation 5 Pts

Total 100 Pts


相关文章

版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp