Answer to Question #39230 in Action Script | Flash | Flex | ColdFusion for Mary

Question #39230

Write a program that asks the user to enter two decimal numbers.The program
should calculate and display the product and quotient of the two numbers.Use a
function Product()to calculate the product.The function should have two argu-
ments, which are the two numbers that the user inputs.The function should re-
turn the product of the numbers. Use a function Quotient() that has two
arguments,which are the numbers input by the user.The function should return
the quotient of the first number divided by the second. If the second number is
zero (recall that division by zero is not allowed), display an error message and
exit the program.

## Comments

## Leave a comment