Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Return on investment, or ROI, is the ratio of a profit or loss made on an investment expressed in terms of an investment's gain and

image text in transcribed
image text in transcribed
Return on investment, or ROI, is the ratio of a profit or loss made on an investment expressed in terms of an investment's gain and cost. It is shown as a percentage of increase or decrease in the value of the investment in question. The basic formula for ROI is: ROI Net Profit / Total Investment 100, and Total investment is the cost of the project, and Net Profit- Gain- Cost. https://www.investopedia.com/articles/basics/10/guide-to- calculating-roi.asp You are working on clients. You want to create a simple ROI calculator so that your clients can do some basic calculation themselves. The program should ask them to enter the name of potential project, expected cost, and expected gain. The program then calculates and display ROI and ratings based on the following table. screening investment options for your ROI for AA 11-80% 50% Assignment Requirement This assignment rewrites and extends Take-home Assignment 4 You can continue working on the one you have. My version of solution can be found within Take-home Assignment 4 on Canvas. In Assignment 5, we only consider potential domestic investment projects. Thus, there is no need for project type and option for international projects. Please design a program with following features: 1. Ask input for project name, expected cost, and expected gain. Then calculate and display the project name, net profit, message, and rating. (Done with Take-home Assignment 1 and Assignment 2.) 2. Multiple students. The program allows inputs for more than one project. After input for one project, the program asks whether the user wants to continue. If yes, the program will prompt for information about next project, including project name, expected cost, and expected gain. If no, the program will stop input student information. (Done with Assignment 4) 3. Display a summary, including total number of projects and average of ROI of these projects. (2 points) 4. In Assignment 5, to practice function, please write a function This assignment rewrites and extends Take-home Assignment 4. You can continue working on the one you have. My version of solution can be found within Take-home Assignment 4 on Canvas In Assignment 5, we only consider potential domestic investment projects. Thus, there is no need for project type and option for international projects. Please design a program with following features: 1. Ask input for project name, expected cost, and expected gain. Then calculate and display the project name, net profit, message, and rating. (Done with Take-home Assignment 1 and Assignment 2.) 2. Multiple students. The program allows inputs for more than one project. After input for one project, the program asks whether the user wants to continue. If yes, the program will prompt for information about next project, including project name, expected cost, and expected gain. If no, the program will stop input student information. (Done with Assignment 4) 3. Display a summary, including total number of projects and average of ROI of these projects. (2 points) 4. In Assignment 5, to practice function, please write a function to decide the rating. It needs a parameter of ROI and returns the rating. (3 points) 5. In Assignment 5, please rewrite your program using arrays to store information. One design may include an array for project name, one array for ROls, and one arrays for ratings. You may decide to have more arrays for expected cost and gain. In essence, they are parallel arrays. (5 points) 6. In the summary, also display the information (name and ROI) of a project that has the highest ROL. (5 points) 7. Once the data entry is done, please ask user to search a project using project name. If the name is one of project entered, show ROI of that project. If not, show "No such project." (5 points) 8. For No.6 and 7, although it is possible to accomplish the same tasks without using arrays, but for this assignment, please develop your program by processing data stored in arrays to find out the highest ROI and search for a project. 9. Please develop pseudocode or flowchart for the program (10 points). 10. Try not to use array functions such as push0 or max0 or sort). Please write your own algorithms. Sample Screenshot Return on investment, or ROI, is the ratio of a profit or loss made on an investment expressed in terms of an investment's gain and cost. It is shown as a percentage of increase or decrease in the value of the investment in question. The basic formula for ROI is: ROI Net Profit / Total Investment 100, and Total investment is the cost of the project, and Net Profit- Gain- Cost. https://www.investopedia.com/articles/basics/10/guide-to- calculating-roi.asp You are working on clients. You want to create a simple ROI calculator so that your clients can do some basic calculation themselves. The program should ask them to enter the name of potential project, expected cost, and expected gain. The program then calculates and display ROI and ratings based on the following table. screening investment options for your ROI for AA 11-80% 50% Assignment Requirement This assignment rewrites and extends Take-home Assignment 4 You can continue working on the one you have. My version of solution can be found within Take-home Assignment 4 on Canvas. In Assignment 5, we only consider potential domestic investment projects. Thus, there is no need for project type and option for international projects. Please design a program with following features: 1. Ask input for project name, expected cost, and expected gain. Then calculate and display the project name, net profit, message, and rating. (Done with Take-home Assignment 1 and Assignment 2.) 2. Multiple students. The program allows inputs for more than one project. After input for one project, the program asks whether the user wants to continue. If yes, the program will prompt for information about next project, including project name, expected cost, and expected gain. If no, the program will stop input student information. (Done with Assignment 4) 3. Display a summary, including total number of projects and average of ROI of these projects. (2 points) 4. In Assignment 5, to practice function, please write a function This assignment rewrites and extends Take-home Assignment 4. You can continue working on the one you have. My version of solution can be found within Take-home Assignment 4 on Canvas In Assignment 5, we only consider potential domestic investment projects. Thus, there is no need for project type and option for international projects. Please design a program with following features: 1. Ask input for project name, expected cost, and expected gain. Then calculate and display the project name, net profit, message, and rating. (Done with Take-home Assignment 1 and Assignment 2.) 2. Multiple students. The program allows inputs for more than one project. After input for one project, the program asks whether the user wants to continue. If yes, the program will prompt for information about next project, including project name, expected cost, and expected gain. If no, the program will stop input student information. (Done with Assignment 4) 3. Display a summary, including total number of projects and average of ROI of these projects. (2 points) 4. In Assignment 5, to practice function, please write a function to decide the rating. It needs a parameter of ROI and returns the rating. (3 points) 5. In Assignment 5, please rewrite your program using arrays to store information. One design may include an array for project name, one array for ROls, and one arrays for ratings. You may decide to have more arrays for expected cost and gain. In essence, they are parallel arrays. (5 points) 6. In the summary, also display the information (name and ROI) of a project that has the highest ROL. (5 points) 7. Once the data entry is done, please ask user to search a project using project name. If the name is one of project entered, show ROI of that project. If not, show "No such project." (5 points) 8. For No.6 and 7, although it is possible to accomplish the same tasks without using arrays, but for this assignment, please develop your program by processing data stored in arrays to find out the highest ROI and search for a project. 9. Please develop pseudocode or flowchart for the program (10 points). 10. Try not to use array functions such as push0 or max0 or sort). Please write your own algorithms. Sample Screenshot

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing Assurance Services And Forensics A Comprehensive Approach

Authors: Felix I. Lessambo

1st Edition

3319905201, 9783319905204

More Books

Students also viewed these Accounting questions

Question

6. How likely are children to heed such advice? Why?

Answered: 1 week ago