Write program to determine how much the company should sell


Problem

Do the two programming exercises listed below. You will create a separate C++ program for each of the two exercises using the following naming conventions: yourlastname_Ch2lab.n.cpp where "n" is the exercise number.

• Flash Drive Price - An electronics company makes 64 gigabyte USB flash drives that cost them $8.00 apiece to produce. Write a program to determine how much the company should sell them for if it wants to make a 35 percent profit. Display the result on the screen.

• Basketball Player Height -The star player of a high school basketball team is 75 inches tall. Write a program to compute and display the height in feet/inches form. Hint: Try using the modulus and integer divide operations.

The response must include a reference list. Using Times New Roman 12 pnt font, double-space, one-inch margins, and APA style of writing and citations.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write program to determine how much the company should sell
Reference No:- TGS03131528

Now Priced at $40 (50% Discount)

Recommended (96%)

Rated (4.8/5)