Develop an application program for a cashless store

Assignment Help Programming Languages
Reference no: EM132277262

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.

Attachment:- Problem Specification.rar

Verified Expert

This assignment is of C# programming in which if, if- else if, for loop, while loop and do while loop are used to create a cashless store application. The program is using very simple logic to solve the problem.

Reference no: EM132277262

Questions Cloud

Implement the new kanban system : Provide a solution on ways to cut down cost with minimum spending, you will also include speaker notes and useful resources to back your statement up
Use desmos or another graphing utility to graph : By looking at the behavior of f'(x) where is f(x) increasing and where is it decreasing? Give answers using interval notation for x
How organizations are becoming effective using expert system : How organizations are becoming more effective using expert systems: an analytical study - dentify How organizations are becoming more effective using systems
Compute the terminal values of the individual bonds : Compute the terminal values of the individual bonds and the Portfolio (made up of Bonds 2 and 3) as a function of the interest rate (let r go from 0 to 10%)
Develop an application program for a cashless store : IFN501 - You must develop your program based on the given system requirement specifications. (A system requirement specificationestablishes the basis
Build a garch model for the transformed series : Build a GARCH model for the transformed series and compute 1-step- to 5-step-ahead volatility forecasts at the forecast origin December 2008
Potential market segments for the mother care company : ACC 399-P Project in Accounting - Abu Dhabi University - Case - The Potential Market Segments for the Mother Care Company -
Analysis of entrepreneur traits : MNG91002 - Entrepreneurship - Case Analysis – Fairphone - what we might consider 'social entrepreneurship', whereby an entrepreneur establishes
Draft a formal analysis for each of the given pieces : Writing this paper will give you an opportunity to study artworks outside of the textbook and to apply analysis. You are encouraged to visit a local exhibition.

Reviews

len2277262

4/8/2019 4:09:44 AM

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. (0 Mark)

len2277262

4/8/2019 4:09:38 AM

1) Program Code (25%) Zip your project file and upload this zipped file onto BB using Assessment 2 Part 1 link under Assessment. The link will be available only from Monday 1st.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