Assignment 1
Pak Ali has purchased some stock in Global Warming, Inc. The details are as follows:
number of shares purchased was 1000 shares
Pak Ali has paid RM32.87 per share
Pak Ali paid his stock broker a commission that amounted to 2% of the amount he paid for the
stoc
A few days later, Pak Ali sold the stock. The details are as follows:
1000 shares was sold
the sale price was RM33.92 per share
Pak Ali paid his stock broker a commission that amounted to 2% of the amount he received for
the stock
The program should be able to display the following information:
the amount of money Pak ali paid for the stock
the amount of commission Pak Ali paid his broker for purchasing the stock
the amount that Pak Ali sold the stock for
the amount of commission Pak Ali paid his broker for selling the stock
the profit that Pak Ali made after selling his stock and paying the two commissions to his
broker
Attention
submission deadline is on Tuesday, October 2, during C++ class
what you have to submit
1) pseudocode of your program (hard copy)
2) your complete C++ source code (hard copy)
3) output of your C++ program (hard copy)
there is no need to send your C++ program file
write down your name and matric no
Example of how to submit your assignment (from today's lecture note).
1) Pseudocode
Ask the user to input the crate's length.
Ask the user to input the crate's width.
Ask the user to input the crate's height.
Calculate the crate's volume.
Calculate the cost of building the crate.
Calculate the customer's charge for the crate.
Calculate the profit made from the crate.
Display the crate's volume.
Display the cost of building the crate.
Display the customer's charge for the crate.
Display the profit made from the crate.
2) Complete C++ code
3) Program output
1
Expert's answer
2012-10-15T10:52:34-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment