Answer to Question #152294 in Discrete Mathematics for omar

Question #152294
Omar plays a game with his brother Ali, Omar read 4 positive numbers. Ali must find the largest difference between numbers.

Can you help Ali to find the result?
You should use max() predefined function.
1
Expert's answer
2020-12-22T19:52:52-0500

Assuming there are 10 numbers in the game starting from 0.

If Omar's read 4 positive numbers say 1,2,3,4. Then difference between the no read by Alice. So Alice can read either 4-1, 4-2,4-3,4-4 means 3,2,1,0.

Max of( 4-1,4-2,4-3,4-4) means 3


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS