MTS 3013 STRUCTURED PROGRAMMING- Assignment Problem

Assignment Help Programming Languages
Reference no: EM132400871

MTS 3013 STRUCTURED PROGRAMMING,  Sultan Idris Education University, Malaysia

ASSIGNMENT

A system of price calculation has been designed in the ABC loundry. The calculation are shown below:

Type/Jenis                Price/Harga

1. Shirt                     RM 15 per kg

2. Blanket/Towel         RM 6 per kg

3. Comforter               RM 10 per kg

At any time, only one type of costume is allowed to be accepted. The discounts are given to the customers based on the following price:

Total of price/ Jumlah harga                                    Discount/Diskaun

≥RM 30                                                          10 % of price/dari Jumlah harga
≥ RM 20 dan < RM 30                                        5 % of price/ dari Jumlah harga
≥ RM 15 dan < RM 20                                         3 % of price/ dari Jumlah harga
< RM 15                                                           0%

Calculate the price that has to be paid by the customer. The output of the program is shown below:

The ABC LOUNDRY
Total of price : ____
Discount : ____
Price after discount : ____

Write a complete program to solve the above problem.

Students should submit the following items:

- Complete program (C++ coding) -

- Output of program (print screen) -

Reference no: EM132400871

Questions Cloud

What is the purpose of patch management : Non-IT professionals, however, may question the resources dedicated to ensuring proper patch management.
Was there a problem that you wanted to fix in your community : Why were you inspired to act? What did you learn from your effort? How did your actions benefit others, the wider community or both?
Lookup of information in constant time : Aisha knows the game really well, so she knows when and where pancakes will fall, i.e. pairs (t,p), which means at t seconds, a pancake will be at position p.
Main steps in system installation using the cloud : Describe the main steps in system installation using the Cloud. Also describe the challenges and benefits of using the Cloud.
MTS 3013 STRUCTURED PROGRAMMING- Assignment Problem : MTS 3013 STRUCTURED PROGRAMMING Assignment Help and Solutions, Sultan Idris Education University, Malaysia-Calculate the price that has to be paid by customer.
Bell-lapadula confidentiality model : The Bell-LaPadula confidentiality model includes the *-property, also described as "no write down." What kind of security breach is the *-property intended
How does blocking outgoing packets not having a source : How does blocking outgoing packets not having a source address in one's own address space improve security?
Briefly explain how a syn flood attack works : Briefly explain how a SYN flood attack works. In your answer, tell what a SYN packet is, resource is attacked and what the effect of that attack is.
Draw an entity relationship diagram : Draw an entity relationship diagram (ERD) for the following situations:

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a working program for alpha testing

you want to put together the work that has been completed to deliver a working program for alpha testing. You will combine the elements you have written to this point and deliver a working solution.

  Traditional versus object-oriented design

Compare the object-oriented approach to design to the traditional approach. Give your opinion on whether or not you believe there are certain projects where one design approach might be better that the other. If so, provide an example of one (1) s..

  Write a program that checks the strings for the values

Write a program that checks the strings for the values '2', '3', '5' and '7'. When one of the values is found in the string, record its position.

  Write temperature conversion program

You will write a temperature conversion program. GUI and event handling setup must be done in the constructor of the class that implements the GUI.

  Create an event to activate the method

In this exercise, you will build a simple flight simulator using alice 2.2. You will start with a water world, add a seaplane to the world, build events to allow the user to control the plane, and then add other objects to the world to make it loo..

  Write a program that displays a salary schedule

Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching experience. For example, a beginning.

  Define a command syntax and small-step semantics

Define a command syntax and small-step semantics for if-then (without the else) and extend Agat's type system with a rule for if-then

  Design a class named pet which should have the name fields

Design a class named Pet, which should have the following fields: •Name - The name field holds the name of a pet. •Type - The type field holds the type of animal that is the pet. Example values are "Dog", "Cat", and "Bird".

  Program to overload the addition assignment operator

Overload the addition assignment operator (+=), the subtraction assignment operator (-=), and the multiplication assignment operator (*=).

  Write a paper discussing threads vs processes

Write a paper discussing Threads vs Processes. What is a Thread? What is a Process? How are they different? How are they the same? What types of problems lend themselves to Threads?

  Prepare program to compute and display area of triangle

The area of any right triangle is equal to one-half of base times its height. Prepare the program which will compute and display area of a triangle which has a base of 4 and a height of 5.

  What happens when a class with parameterized

What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?

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