Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Program one: User javascript prompts for user input of project name, expected cost, and expected gain . Then display the net profit and ROI in
Program one: User javascript prompts for user input of project name, expected cost, and expected gain. Then display the net profit and ROI in percentage. You can decide whether display the information as lines or in a table. The result may look as the following sample screen shots . Program two: Use HTML form to get user input. The result may look as the following sample screen shot Welcome to Investment Program Two (15 points) Use HTML form to get user input. The result may look as the following sample screen shot. Welcome to Investment After user enters scores into the form and clicks Calculate button, the net profit and percent should be displayed in the appropriate text boxes Welcome to Investment This is a programming task and is designed to get you further familiar with JavaScript programming. It continues focusing a ROI calculator. Based on the pseudocode you already developed in Assignment One, please create two javascript programs, described in detail later. Below is a recap program requirement 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 ROl is: of the ROI and 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 screening investment options for your clients. You want create a simple ROI calculator so that your clients can do some basic calculation themselves. The progranm should ask them to enter the name of potential project, expected cost, and expected gain. The program then calculates and display ROI There are multiple ways to accomplish the system. You are required to develop two following programs. Program One (15 points) User javascript prompts for user input of project name, expected cost, and expected gain. Then display the net profit and ROI in percentage. You can decide whether display the information as lines or in a table. The result may look as the following sample screen shots This page says This page says Welcome to Investment Welcome to Investment Program Two (15 points) Use HTML form to get user input. The result may look as the following sample screen shot. Welcome to Investment After user enters scores into the form and clicks Calculate button, the net profit and percent should be displayed in the appropriate text boxes Welcome to Investment This is a programming task and is designed to get you further familiar with JavaScript programming. It continues focusing a ROI calculator. Based on the pseudocode you already developed in Assignment One, please create two javascript programs, described in detail later. Below is a recap program requirement 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 ROl is: of the ROI and 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 screening investment options for your clients. You want create a simple ROI calculator so that your clients can do some basic calculation themselves. The progranm should ask them to enter the name of potential project, expected cost, and expected gain. The program then calculates and display ROI There are multiple ways to accomplish the system. You are required to develop two following programs. Program One (15 points) User javascript prompts for user input of project name, expected cost, and expected gain. Then display the net profit and ROI in percentage. You can decide whether display the information as lines or in a table. The result may look as the following sample screen shots This page says This page says Welcome to Investment
Program one:
User javascript prompts for user input of project name, expected cost, and expected gain. Then display the net profit and ROI in percentage. You can decide whether display the information as lines or in a table. The result may look as the following sample screen shots .
Program two:
Use HTML form to get user input. The result may look as the following sample screen shot
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started