Question: The CSS is given... Ye Old Calculator For all your calculation needs! Please enter first number: Please enter second number: Select operation to perform: AdditionMultiplicationDivision

The CSS is given...

 

Ye Old Calculator

For all your calculation needs!

Please enter first number:

Please enter second number:

Select operation to perform:

AdditionMultiplicationDivision

The CSS is given... Ye Old Calculator For all your calculation needs!Please enter first number: Please enter second number: Select operation to perform:AdditionMultiplicationDivision What would be the javascript to print out the 2 outcomes?

What would be the javascript to print out the 2 outcomes?

CSS given up above should not be changed, just need the Javascript to make the page functional as shown in the pictures above!

The goal of the program is to perform a calculation on 2 numbers. The calculation to perform will be determined by a menu choice from the user. The goal of the program is to perform a calculation on 2 numbers. The calculation to perform will be determined by a menu choice from the user. The 3 operations in the menu are addition, multiplication, and division. Your JavaScript program must produce output that looks exactly like the sample shown in the following pages. The value of the answer is calculated by determining what menu option was selected by the user. The IDs and the event handler are already set, just write the JavaScript. Remember the values assigned to the option tags are strings. You will need an IF statement to determine which operation has been selected. The code in the framework file may not be altered in any way. A zero will be given for the exam if the code is altered. Your JavaScript must work with the supplied code as is

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!