Arithmetic operation with variable


Discussion:

The set of directions in Project 3-7 script produces some kind of expected output by creating this script called

Mollett.3-7

Set a variable named "x" to 10

Set a variable named "y" to 100

Display the result of dividing "y" by "x" and place the result into variable "t"

Display the result of dividing "y" by 0

Display the result of multiplying "y" by "x" and place the result into variable "t"

Display the result of adding "y" and "x" and place the result into variable "t"

Display the result of subtracting "x" from "y" and place the result into variable "t"

Display the result of raising "y" to the power of 2 and place the result into variable "t"

Display the result of taking the remainder of "y" divided by "x" and place the result into variable "t"

Solution Preview :

Prepared by a verified Expert
Programming Languages: Arithmetic operation with variable
Reference No:- TGS01932287

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)