Solving an Algorithm Math Problem

Solving an Algorithm Math Problem
$\begingroup$

if x, y and z each represent a different digit from 0 to 9, what is the value of (x)(y)(z)?

 4z
 27
+x5
____

y14

I answered it like this:

 42
 27
+45
____

114

So x=4, y=1 and z=2 for a total of 7. But I got it wrong because the correct answer is 8. What am I doing wrong?

$\endgroup$

2 Answers

$\begingroup$

(x)(y)(z) means multiplication of the three, and (4)(1)(2) is 8.

$\endgroup$
$\begingroup$

You computed the sum $x+y+z$ where the problem asked for the product $x\times y\times z$.

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.