Develop an application program for a cashless store

Assignment Help Programming Languages
Reference no: EM132274244

Problem Specification:

Write a C# application program using only one class containing the Main() method to develop an application program for a cashless store. You must develop your program based on the given system requirement specifications. (A system requirement specificationestablishes the basis for an agreement between customers and contractors or suppliers on how the software product should function.) In this particular application, the system requirement specifications are as follows:

The cashierwill process n items from a number of customers (>0), one by one, in turn,
The cashier will prompt for the name of the item and the price of that item,
o The price of the item must be > 0,
o The name of the item should not be >= 8 characters,
The final invoice must be in a readable format and should include:
Total number of items purchased.
Total cost of all the items.

The customer is given discount on the purchases based on the following rules:
If customer's total of the purchases is less than $100
No discount is applied on the invoice.
If the total is between $100 and $300 (inclusive);
A discount of 1.5% is applied on the invoice.
If the total is greater than $300,
A discount of 2.5% is applied on the invoice.

Your application should validate all the inputs from the cashier.
I. If the cashier enters invalid inputs for the name and the price, the program should ask the cashier to re-enter the inputs as necessary by providing appropriate messages to the cashier.
II. The application software must be designed using sentinel event-controlled loops for both the number of items and the number of customers.
The customer should pay only by using a credit card.
I. The application program should validate the customer's credit card,
a. Ask the user to enter a four-digit card number and check if it is valid. The number is valid if the fourth digit is the remainder when the number represented by the first three digits of the four-digit number is divided by 7. For example, 7770 is valid, as 0 is the remainder when 777 is divided by 7.
b. If the credit card is valid, then the payment is accepted.
c. The invoice should indicate that the total amount is paid with $0.0 owing.

In developing your program, please take note of the following:
I. You are not to use any data structure, such as arrays or lists.
II. You should not use any C# concepts which have not been not been taught as part of Lectures and Tutorials in Weeks 1 to 4.
III. You should develop your application using simple logic.
IV. Test your code using your own test data covering multiple data sets.
V. Your program should not have any compilation/execution errors.

Verified Expert

The task of the assignment is to develop a C# application for the cashless store. The C# application program using only one class containing the Main() method to develop an application program for a cashless store. The program is developed to meet the specification of requirement. The program is developed and added with many inline comments and outputs are documented.

Reference no: EM132274244

Questions Cloud

Expressed across the contexts of self : How are each of these expressed across the contexts of self, organizations, community, and society?
Service category or brand behavior : Good insights about customers come from more than just product or service category or brand behavior—and from more than just demographics.
How would you design a structure and control system : How would you design a structure and control system to encourage entrepreneurship in a large, established corporation?
What is meant by the terms restructuring : Describe what is meant by the terms restructuring, and reengineering, and discuss when and why they would be used?
Develop an application program for a cashless store : IFN501 - Programming Fundamentals - Queensland University of Technology - Develop your program based on the given system requirement specifications
List and obtain the entitys financial data : Select a public, for-profit healthcare company from the following list and obtain the entity's financial data (current and historical).
What is the definition of organization : What is the definition of an organization? Briefly explain each part of the definition.
Assess the current or trending innovation strategy of a firm : Describe how the firm's innovation strategy contributes to its competitive advantage.
Disadvantages of using scoring model for selecting projects : What are some advantages and disadvantages of using a scoring model for selecting projects?

Reviews

len2274244

4/3/2019 10:21:26 PM

Assessment submitted after the due date without an approved extension will not be marked and will receive a grade of 1 or 0%. If special circumstances prevent you from meeting the assessment due date, you can apply for an extension. If you do not have an approved extension you should submit the work you have completed by the due date and it will be marked against the assessment criteria.

len2274244

4/3/2019 10:21:20 PM

2) Code Demonstration (5%) To be done in Week 7 during your scheduled practical sessions. You will asked to run your code with our test data, and may be asked to explain your submitted code and to modify some segments of the code. (5 Marks) Non-attendance to this session for the code demonstration would result in zero mark for this part.

len2274244

4/3/2019 10:21:14 PM

Project Deliverables: 1) Program Code (25%) Zip your project file and upload this zipped file onto BB using Assessment 2 Part 1 link under Assessment. You can only uploadonce. Your code will be evaluated by: a. Assessing the conformance of the submitted program to the functional requirements outlined above; does the program meet all these requirements, and how well? (2 Marks) b. Assessing the "means" of accomplishing the task by examining the program structure, style, clarity and conciseness, and if your code is written in a way that is clear and maintainable. (3 Marks)

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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