Create a JavaScript that calculates and displays the results of four, different mathematical problems. Must use the same two variables to create the problem.
For Example:
var a = 25;
var b = 99;
sum = a + b;
difference = a - b;
product = a * b;
squareOfA = a * a;
OUTPUT:
Number one = 25
Number two = 99
The sum of the two numbers is 124
The difference between the two numbers is -74
The product of the two numbers is 2475
The square of number one is 625
Your output should be similar
JavaScript must do the calculations
|