Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I do not need this to be in a program. Just write the number or letter to the co

ID: 3874906 • Letter: I

Question

I do not need this to be in a program. Just write the number or letter to the correct statement as shown below. This is in C++ language and remember i do not need it to be code thank you.

Complete the design deliverable (pseudocode algorithm) for the following problem: Analyze a stock transaction to determine the information provided in this dialog (user input is signified by boldface):

How many shares did you purchase? 100
What was the purchase price? 50
What was the selling price? 60
Per share profit/loss = $10.0
Total profit/loss = $1000.0

How many shares did you purchase? 50
What was the purchase price? 10
What was the selling price? 5
Per share profit/loss = $-5.0
Total profit/loss = $-250.0

Put items in the order of execution.

      -       1.       2.       3.       4.      

Display total profits or loss


      -       1.       2.       3.       4.      

Display share profit or loss


      -       1.       2.       3.       4.      

Compute share profit or loss (could be negative) and compute total profits or loss (could be negative)


      -       1.       2.       3.       4.      

Read in sharesPurchased, purchasePrice, sellingPrice

2.

List the three steps of the program development strategy introduced in Chapter 1 that most closely relate to the following mini definitions:

Understand the problem

Converting design into a program

Develop a solution by writing an algorithm

Implementation

Design

Analysis

      -       A.       B.       C.   

Understand the problem

      -       A.       B.       C.   

Converting design into a program

      -       A.       B.       C.   

Develop a solution by writing an algorithm

A.

Implementation

B.

Design

C.

Analysis

Explanation / Answer

Answer 1:

Correct order is: 4 -> 3 -> 2 -> 1
Option 4: Read in sharesPurchased, purchasePrice, sellingPrice
Option 3: Compute share profit or loss (could be negative) and compute total profits or loss (could be negative)
Option 2: Display share profit or loss
Option 1: Display total profits or loss


Answer 2:
Correct Order is:
C -> B -> A
Option C: Understand the problem -> Analysis
Option B: Converting design into a program -> design
Option A: Develop a solution by writing an algorithm -> Implementation

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote