Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / 1

1

Computer Science

1. Energy Drink Consumption -
AneR drink company recently surveyed 15,000 at is customers and found that approximately 18 percent of those surveyad purchase one of more anergy
rinks per week. Of those cusiomers who purchase energy drinks, approximenely 54 percent of them preter chrus-favored energy drinks, Write a program
that diupluys ihe following:
© The aggruaiile nailer ul vasiuriers in des survey whe purchuee Une Ut rreeW arRmyy ibis Der we,
* The appronimate number of custornens in the survey whe prefer citrwe-flavored energy drinks
2. 18. Stock Transaction Program
Last month, Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase:
» The number of shares that Joe purchased was 1,000.
= When Joe purchased the stock, he paid $32.87 per share.
» Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock.
Two weeks later, Joe sold the stock. Here are the details of the sale:
» The number of shares that Joe sold was 1,000.
« He sold the stock for $33.92 per share.
# He paid his stockbroker another commission that amounted to 2 percent of the amount he received for the stock.
Write a program that displays the following information:
» The amount of money Joe paid for the stock.
» The amount of commission Joe paid his broker when he bought the stock.
» The amount for which Joe sold the stock.
« The amount of commission Joe paid his broker when he sold the stock.
« Display the amount of profit that Joe made after selling his stock and paying the two commissions to his broker. (If the amount of profit that your
program displays is a negative number, then Joe lost money on the transaction.)

Option 1

Low Cost Option
Download this past answer in few clicks

12.99 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions