What is output by the following algorithm if the user enters 3, 8 and 10?
OUTPUT "Please enter values for a, b and c"
INPUT a
INPUT b
INPUT c
x ← a * b + c
y ← (b + c) / a
z ← x DIV y
w ← x MOD y
x ← x + y
OUTPUT x
OUTPUT y
OUTPUT z
OUTPUT w
Answers
Answered by
1
Answer:
INPUT a
INPUT b
INPUT c
x ← a * b + c
y ← (b + c) / a
z ← x DIV y
w
Similar questions
Math,
9 days ago
Social Sciences,
9 days ago
Computer Science,
9 days ago
Math,
19 days ago
English,
19 days ago
English,
9 months ago
Science,
9 months ago
Math,
9 months ago