Produce a c program to calculate the total price for order

Assignment Help C/C++ Programming
Reference no: EM13760121

Question 7
Your friend has just opened a computer appliances shop at Changloon. He asked your help to develop a computer program which can be used at the counter. Your program should be able to input the customer's order which could be more than one item. Produce a C program to calculate the total price for the order. 

You must implement array in your program. The program must have at least one function to calculate the total price of the order.

Use the price from Table 7 for the calculation.


Table 7

itemNo. Items Price
1. Hewlett Packard laptop RM 3999
2. Longitech Optical Mouse RM 31.80
3. Lenovo laptop RM 4400
4. Acer laptop RM 1999
5. Samsung Tablet RM 1499
6. Apple Tablet RM 2333
7. Memory card Altek RM 79.00
8. Portable Hardisk 260GB RM 280
9. Portable Hardisk 80GB RM 150
10. Pendrive 4GB RM19.00 

Reference no: EM13760121

Questions Cloud

Microsoft project file work breakdown structure : Update the Microsoft Project file you created in (Work Breakdown Structure) with the following changes.
Write a brief description of phonemic awareness and syntax : write a brief description of Phonemic awareness, Concepts about print, Letter knowledge, Knowledge of alphabetic principle and Syntax.
Identify possible actors and use cases : 1. Identify possible actors and use cases involved in Personal Trainer's operations. 2. Create an object relationship diagram for the Personal Trainer information system.
Use a cluster architecture to provide rapid scalability : Describe how you might use a cluster architecture to provide rapid scalability for a Web-based company experiencing rapid growth?
Produce a c program to calculate the total price for order : Your friend has just opened a computer appliances shop at Changloon. He asked your help to develop a computer program which can be used at the counter. Your program should be able to input the customer's order which could be more than one item. Produ..
The owner of a hardware store and need to keep an inventory : You are the owner of a hardware store and need to keep an inventory that can tell you what tools you have, how many you have and the cost of each one. Write a C program to create a file named storage.dat and write the data shown in the Table 1 into t..
What does victory-and failure-say about a person : What does victory-and failure-say about a person and their quest?
Main burst in manhattan and flooded the building : An underground water main burst in Manhattan and flooded the building where Acme Inc. has an electricity supply substation. A fire resulted and disrupted electric power for four days. This occurred during the biannual "Buyers Week," when merchandiser..
Write a journal on a quotation related to buddhism : Write a Journal on a quotation related to Buddhism.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  C++ class that has a dynamic array of a string

show  an example of a C++ Class that has a dynamic array of a string that takes in names by user input??

  Object-oriented systems is the concept of object

At the heart of all object-oriented systems is the concept of an object. Simply stated, an object is a set of related characteristics and their associated actions.

  Classes and objects are the basic concepts of

question 1. list three debugging techniques within the debugger that can be used to locate logical error in the java

  Use c program language and should work on linuxcomputers

use c program language and should work on linuxcomputers are frequently used in check-writing systems such as payroll

  Insert the missing code in the c program

You are to insert the missing code in the C program given for combinational equivalence checking. This program will interface with the CUDD package and will parse netlist files in ISCAS85 circuit format. Next, BDDs will be created for each circuit an..

  Write c program that prompts for variable number of integers

Write a C program that prompts for a variable number of integers, adds them up, averages them, and prints out the average.

  Write an array-returning method

Write an array-returning method that takes a two-dimensional array of chars as a parameter and returns a single-dimensional array of Strings as follows:

  Create a program that displays the number of days

Create a program that displays the number of days in a month. Use a 12-element one-dimensional array to store the number of days in each month

  Declare a 1-dimensional array of integers

In pseudocode and in C code, declare a 1-dimensional array of Integers called InternetHits that will hold up to 10 Integer values representing the number of hits a Web site receives.

  Write a prototype for a function named triple

Write a prototype for a function named triple that returns a double and has one integer parameter and

  Before each sort, write psudo-code

Ceate a single cpp ?le (FILE=MAIN2.cpp) containing all three elementry sorts(bubble, insertion, selection). Before each sort, write psudo-code and invarient analysis of the sort in block comment style. Add the code from 3.). Generate a list of 100..

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

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