Question: PLEASE HELP ME WITH THIS IN C + + PROGRAMMING ADDITIONAL NOTE: Revise the code to accommodate 2 stock holdings The price of stocks is

PLEASE HELP ME WITH THIS IN C++ PROGRAMMING
ADDITIONAL NOTE: Revise the code to accommodate 2 stock holdings
The price of stocks is sometimes given to the nearest eighth of a dollar; for
example, 2978 or 8912. Write a program that computes the value of the
user's holding of one stock. The program asks for the number of shares of
stock owned, the whole-dollar portion of the price, and the fraction portion.
The fraction portion is to be input as two int values, one for the numerator
and one for the denominator. The program then outputs the value of
the user's holdings. Your program should allow the user to repeat this
calculation as often as the user wishes and will include a function definition
that has three int arguments consisting of the whole-dollar portion of the
price and the two integers that make up the fraction part. The function
returns the price of one share of stock as a single number of type doub7e.
 PLEASE HELP ME WITH THIS IN C++ PROGRAMMING ADDITIONAL NOTE: Revise

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!