2.11. Circuit Board Profit - Java
----------------------------------------------------------------------------------------------------- Starting out with Java: From control structures through objects Chapter 2 Programming Challenges -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 11. Circuit Board Profit An electronics company sells circuit boards at a 40 percent profit. If you know the retail price of a circuit board, you can calculate its profit with the following formula: Profit = Retail price × 0.4 Write a program that asks the user for the retail price of a circuit board, calculates the amount of profit earned for that product, and displays the results on the screen. Gaddis, Tony (2015-05-29). Starting Out with Java: From Control Structures through Objects (6th Edition) (Page 107). Pearson. Kindle Edition. -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Bitcoin Address - 12uPbtoTBgxKG3ppxC2NSJYmmr5qipsbds Thanks :) --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Download
0 formatsNo download links available.