Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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 Ths page say Welcome to lnvestment 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

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

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago

Question

Understand the different approaches to job design. page 167

Answered: 1 week ago