Taskyou are to plan and then code the next version of the

Assignment Help Application Programming
Reference no: EM13380270

Task:

You are to plan and then code the next version of the CP1200 catering calculator, as described in the following information and sample output below. This assignment has two parts, each of which is the whole program, but the second is a version using object oriented programming.

Program Features:

The program is similar to assignment 1, but with added features. Ensure that your program has the following features, as demonstrated in the sample output below:

• Instead of choosing basic or premium, the user will choose from various catering packages, which are stored in memory and can be saved to and loaded from a text file called packages.txt.

• The user can add new packages to program memory. They will be prompted for the package name, price per adult and price per child, which are all error-checked. Adding a package does not save it to the packages file unless the user chooses to save.

• Saving replaces everything in the file with whatever packages are in memory.

• Loading a new file replaces any packages already in memory (whether added or loaded).

• For the catering calculations, the user enters the number of adults and children and then chooses a catering package and a delivery option.

• There is a 1 in 10 random chance of getting adults at children's prices no matter what catering package is chosen.

• Error checking in this version is more comprehensive and your program should not crash for any input. Integer and float inputs must be checked for valid numbers. Refer to the sample output to see specific examples of limitations on the values for various inputs, e.g. the package choice has to be a valid package number, and prices must not be <= 0.

• The package name must fit within 16 characters, and when packages are displayed, they should line up in this width.

An example file (as used for the sample output below) is provided for you on LearnJCU and you must use this format. Each line contains a package name, price for adults and price for children separated by commas (no spaces) and a single new line character. You can assume that the packages.txt file exists and its contents are valid, so you do not need to do any error checking for the file.

Reference no: EM13380270

Questions Cloud

You can are required to research into one of the : you can are required to research into one of the following topics on data security or computer-network security and
Step 1construct a diagram using rationaleto map the : step 1.construct a diagram using rationaleto map the arguments about a moral claim that you have identified in the
Expand your program in part 1 to allow the operand : expand your program in part 1 to allow the operand use the immediate addressing mode. that is the value of
You are required to write a c program to translate lc-3s : you are required to write a c program to translate lc-3s and and add assembly language instructions into machine code.
Taskyou are to plan and then code the next version of the : taskyou are to plan and then code the next version of the cp1200 catering calculator as described in the following
1 which of the following is not true with regards to : 1. which of the following is not true with regards to thefollowing statement?namejohndoeampserial123456ampsystemma.
1 your senior manager catches up with you after your : 1 your senior manager catches up with you after your project status meeting to tell you that your project has been
Create a program which operates as a generic simple json : create a program which operates as a generic simple json parser. simple json is our version of json that only supports
Question 1the management of your employer wants to find out : question 1the management of your employer wants to find out about desktop virtualisation and how it works. they think

Reviews

Write a Review

Application Programming Questions & Answers

  Write a paper discussing threads vs processes what is a

write a paper discussing threads vs processes. what is a thread? what is a process? how are they different? how are

  Use the internet or strayer databases to research the

use the internet or strayer databases to research the advantages features and common examples of oop and edp. note you

  Implement functions using x86 assembly in addition to

implement functions using x86 assembly. in addition to implementing procedures this assignment requires to pass

  Consider the above diagram figure of the car park the

consider the above diagram figure of the car park. the object of this assignment is to write a program to operate the

  In this project you will create an application to run in

in this project you will create an application to run in the amazon ec2 service and you will also create a client that

  The containing data for patients who screened on a tobacco

the containing data for patients who screened on a tobacco screening day held at a local hospital has been uploaded to

  Theaussie best car abcauthority now wants to create a

theaussie best car abcauthority now wants to create a database for the sales and bonus records of different years.the

  Standard calculatortask write a windows application in

standard calculatortask write a windows application in visual basic to perform functions of a standard

  Question 1part 1 conditional logicconditional logic is used

question 1part 1 conditional logicconditional logic is used within your application to make decisions during the

  Project title computer sales and repair store system -

project title computer sales and repair store system - csrssit is required to design a relational database system for a

  Convolving with user defined kernelsas described previously

convolving with user defined kernelsas described previously the smooth function gives equal weight to the neighbouring

  Part a write a program to evaluate the first 20 numbers of

part a write a program to evaluate the first 20 numbers of fibonacci series. use the stack memory to store the

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd