首页 > 其他分享 >CMPSC Application overview

CMPSC Application overview

时间:2024-08-04 12:28:06浏览次数:12  
标签:application overview screen component sales will Application CMPSC user

Name:

Course:

CMPSC

Due Date:

Thursday, August 8th by 11:59pm

Topic:

Final Project

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

  1. Application Components
  2. 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)

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

  1. Calculate the sales prices for each sales item.
  2. Calculate the sales total.
  3. Calculate the sales tax total.
  4. Calculate the grand total.
  5. Your program’s output will resemble the figure below.
  6. 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.

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

  1. Print a balance sheet report to the screen. (Below is an example of the report)
  2. Print a copy of the balance sheet report to a file
  3. 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)

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

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

相关文章

  • Mobile Systems, Applications, and Services (MobiSys, MOBISYS)
    MobileSystems,Applications,andServices{MobiSys,MOBISYS}1.AssociationforComputingMachinery(ACM)2.ACMConferences3.MobileSystems,Applications,andServices(MobiSys,MOBISYS)3.1.Proceedingsofthe22ndAnnualInternationalCon......
  • 159.336 application for Android
    159.336Assignment1Due14thAugust2024ForthisassignmentyouneedtowriteasimpledialerapplicationforAndroidtomakephonecalls.ThedialermusthavethefollowingUIelements:Anumberdisplaytoshowthephonenumberwhichwillbecalled.A......
  • 无法将为“Microsoft.Office.Interop.Word.ApplicationClass”的 COM 对象强制转换为
    原文链接:https://blog.csdn.net/Castlehe/article/details/1243806481.错误原因安装了多版本的Office安装过WPS后没正常卸载2.解决方式2.1office多版本问题导致的以下四个操作基本覆盖常见原因了,可以从2.1.1尝试,每尝试一种,就去试一下看问题解决了没有,如果已经解决了,其他操作就......
  • Http发送Post请求 form-data 和 application/x-www-form-urlencoded 区别
    在HTTP协议中,使用POST请求时,可以通过不同的方式发送表单数据。form-data 和 application/x-www-form-urlencoded是两种常见的编码方式,它们在发送数据时有一些关键的区别:application/x-www-form-urlencoded编码方式:以键值对的形式进行编码,每个键值对之间用&符号连接,每个键和值......
  • SpringBootApplication入口调用service类方法
    要在publicstaticvoidmain(String[]args)中调用Service的方法,需要在Application类中手动获取Spring容器,并从中获取Service的实例。示例如下:启动入口程序@SpringBootApplicationpublicclassRouteApplication{publicstaticvoidmain(String[]args){......
  • Spring | BeanFactory与ApplicationContext的关系
    BeanFactory是Spring的早期接口,称为Spring的Bean工厂,ApplicationContext是后期更高级接口,称之为Spring容器ApplicationContext在BeanFactory基础上对功能进行了扩展,例如:监听功能、国际化功能等。BeanFactory的API更偏向底层,ApplicationContext的API大多数是对这些底层API的封装......
  • 深入解析 @SpringBootApplication 注解及其源码
    深入解析@SpringBootApplication注解及其源码在SpringBoot开发中,@SpringBootApplication注解几乎是每个项目的起点。它不仅简化了配置,还集成了多个核心注解。今天,我们将深入探讨这个注解的内部机制,并通过代码示例来展示其强大功能。1.@SpringBootApplication是什么?简单......
  • ApplicationContext 源码
    ApplicationContextApplicationContext和BeanFactory可以先简单了解下ApplicationContext和BeanFactory。详情见:https://blog.csdn.net/sinat_32502451/article/details/140247662ApplicationContext接口继承图:可以看到ApplicationContext间接继承了BeanFactory。......
  • CMP-7000A - Applications Programming
    Module: CMP-7000A- Applications ProgrammingAssignment: R002-Game Coding and Testing PresentationLearningoutcomes•    Youwilldemonstratecompetence in using Pythonprogrammingskills by creatingandcodingyourown personalgameappl......
  • ApplicationContext 详细介绍
    一、概述ApplicationContext是Spring框架中的一个核心接口,它扩展了BeanFactory接口,并提供了更全面的功能。ApplicationContext不仅包含了BeanFactory的所有功能,还添加了国际化支持、资源访问、事件传播、以及更高级的容器特性,如自动装配和生命周期管理等。它是Spring应用中的核心......