subject
Engineering, 15.01.2020 22:31 eithzyd1648

25. if necessary, create a new project named advanced 25 project and save it in the cpp8\chap14 folder. also create a new source file named advanced 25.cpp. if you are using microsoft visual c++, copy the advanced25.txt file from the cpp8\chap14 folder to the cpp8\chap14\advanced25 project folder. use a text editor to open the advanced25.txt file, which contains the names of the items in inventory, as well as each item’s quantity and price. close the advanced25.txt file. write a program that displays the contents of the file in three columns titled "name", "quantity", and "price". the program should also display a fourth column that contains the result of multiplying each item’s quantity by its price. use "value" as the column’s title. (hint: you can align the columns using '\t', which is the escape sequence for the tab key.) in addition, the program should calculate and display the total value of the items in inventory. display the price, value, and total value with two decimal places. save and then run the program. zak, diane. an introduction to programming with c++ (p. 547). cengage learning. kindle edition.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 18:20
How much power could a wind turbine produce if it had the following specifications? cp = 0.45 -d=1.2kg/m3 d=50m v 5m/s
Answers: 2
question
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
You know the right answer?
25. if necessary, create a new project named advanced 25 project and save it in the cpp8\chap14 fold...
Questions
question
Mathematics, 18.03.2020 04:14
question
Mathematics, 18.03.2020 04:14
question
Mathematics, 18.03.2020 04:14