The owner of a hardware store and need to keep an inventory

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

Question 8
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 the file. Also produce a C program to read the data from the file and print to the screen the list of all tools which quantity count falls below 40 and costs more than RM 50.00.
Table 1: Inventory Details

Record Number Tool Name Quantity Cost (RM)
3 Electric_sander 7 37.00
17 Hammer 76 29.00
24 Jig_saw 21 34.00
39 Lawn_mower 3 399.00
56 Power_saw 18 499.00
68 Screw_driver 106 17.00
77 Sledge_hammer 11 89.00
83 Wrench 34 33.00 

Reference no: EM13760120

Questions Cloud

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.
Scenario: is this ethical : You Decide - In this scenario, you will evaluate the Code of Ethics to determine if John Anderson has violated International Widgets' Code of Ethics by engaging in business with a competitor.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write functions which solve each of the following problems

write functions which solve each of the following problems. you must place all of your functions in one project. if you

  Implement a class address

A theater seating chart is implemented as a two-dimensional array of ticket prices like presented below. Write a program that prompts the users to pick either a seat or a price. Mark sold seats by changing the price to zero.

  Write a small program scropy

You are supposed to write a small program scropy, which takes two arguments on the command line: the names of a source file and a destination file.

  Display a year-by-year depreciation schedule

Create GUI screen interface that accepts input and shows output and resize the GUI screen & the list box to best fit the output displayed

  Inserts a node with info value x

Complete the code for a function that inserts a node with info      value x before, and a node with info value zafter,each node with      info value y in a linked list with first node pointer p.

  Develop a global function customerinformation

Use a parameterized constructor to initialize data members - Develop a global function "CustomerInformation" that prints the customers information (number of dept each customer can handel). ( Use copy constructor).

  Write a program that sorts a linked list

Write a program that sorts a linked list of integers using merge sort. the program will read the integers froma file onto a linked list and then sort the linked list using MERGE SORT. this will require additional linked lists but you should use li..

  Implement the vector class using inheritance

Is it better to implement the Vector class using inheritance (is-a relationship) or composition (has-a relationship). In other word, which one of the following gives a better implementation?

  Develop the implementation file student.cpp

The data fields have self explanatory identifiers, and their meaning should be clear from the Introduction.

  Write a program to determine a natural number

Write a program to determine if a natural number has only 2 and/or 3 as prime factors and how many of each factor (2 and 3) it does have.

  Write the definition of the member function two of yclass

Write the definition of the member function two of yClass so that the private member variable a is initialized to the value of the first parameter of two, and the private member variable b is initialized to the value of the second parameter of two..

  Compute the area of a pentagon

Evaluate the area of a pentagon given by the coordinates - Please make sure it compiles and write the full program to receive full credit. Thank you so much for your help.

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