asked 69.6k views
0 votes
If x and y are positive integers, is x - y always positive? Explain.

2 Answers

5 votes

Answer:

false

Explanation:

answered
User Hitesh Somani
by
8.1k points
7 votes
No, if y happens to be a larger integer than x, then the result will be negative.
For example, lets say that x=4 and y=9, so x-y = 4-9 = -5.
But if we were to reverse it and make x=9 and y=4, then x-y = 9-4 = 5.
answered
User Serdar Polat
by
8.2k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.