subject
Engineering, 18.09.2019 05:30 bcox32314

Create an application that reads data from a data file. the first line contains the tax rate and the capacity of the shopping bag. each of the rest lines in the data file represents an item: item name, quantity, and retail price. for example, aaa battery 5 0.99, represents 5 aaa batteries that cost $0.99 each. read all items in the data file if the shopping bag is not full. then display a summary of the status of the shopping bag.
sample data file:
0.05 5
colored pencils 3 0.59
notebook 5 0.99
aaa battery 5 0.99
output of the program
the bag contains:
name of the items quantity subtotal
colored pencils 3 $1.77
notebook 5 $4.95
aaa battery 5 $4.95
total: $11.67
tax (5%): $0.58
grand total: $12.25

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:20
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 19:10
An external consultant recommends that a plant installs a bank of capacitors for power factor correction. this will reduce the peak electrical demand charges by an average of 93 kw every month. the plant current pays $13 per kw in peak demand charges. the capacitor bank will include 223 kw of fixed capacitors, and 183 of variable capacitors. the fixed capacitors cost $59 per kw, and the variable capacitors will cost $65 per kw. the consultant charges 21% of the equipment costs to install the capacitors. because this project will reduce the demand for the electric utility, they are prepared to provide a one-time rebate of $42 per kw of reduced demand. what is the simple payback period for this project (in years)?
Answers: 2
question
Engineering, 06.07.2019 03:10
List and describe the parts of boxford cnc milling machine with pictures?
Answers: 2
You know the right answer?
Create an application that reads data from a data file. the first line contains the tax rate and the...
Questions
Questions on the website: 13722362