Computer Science, asked by safiqasiddique, 5 hours ago

Write an algorithm to find the product of 3 variables having the value of x=10, y=20 and z=30

Answers

Answered by sakshichaudhari0300
0

Answer:

Explanation:

1. initialize three integer numbers to 10, 20,30.

2. declare product = num1*num2*num3

3. multiply three numbers and store the result in the product variable.

int x = 10, y= 20, z = 30;

int product = x*y*z;

printf("%d", product);

Similar questions