Question: Stock Commission Basic Steps in Creating your Program L. Pian your logic before working on the peoject and review the systax project. Think to be

 Stock Commission Basic Steps in Creating your Program L. Pian your

Stock Commission Basic Steps in Creating your Program L. Pian your logic before working on the peoject and review the systax project. Think to be dsplayed to the user the program does and what type of inout you expect from the user Introduction to the User). Select names of the variables you will use in the program 2. Create a Ctt project in Visual Saudio 2012. And have the code mindow open to write the project code. Display Using Visual Studio to and follow the create your program in C+ on creating the . Declare variables to hold infornation about stock price and the Using cout Set up information about this pragram and what the user will enter and resuits expected Ask the user to enter some information, requeste and save the the position for the user to enter information is on the same ine as the reauest for information - Use ine spacing (endl or ) to seperate ines of output to read the information, 3. Documentation: All Iines of code must be documented easy for the Use the syntax to designate lines in code as comments / These corsments can be at the end of a ine of code or in a group definition at the beginning of a section of code. All methods and function need group heading document. 4, Run the progrem using Ctrl+FS. Debug the code, making sure all Your program Assignment Write a Stock Commission programf Kathryn bought G0D0 shares of stock at the price of 21.77 per share. She must pay her stock breker a 2 percent comnissien for the transaction Write a program mat caiourates and osays the folowing. Aliow inout for the cost of the stock per share and the number of shares purchased The amount paid for the stock alone (without the commission The amount of the commission The total amount paid cfor the stock plus the commission) testead ofl 600 shares alow the use to input the number of shares and the price per share of the stock Formatting Output: Be sure and use formatting such as setw) setprecision, fixed, and showpoint. Look ahead in chapter 3 for the disoussion of Formatting Output Example of output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!