The difference of successor and predecessor of "n" is
Answers
Answer:
hey mate here's the answer
Let the number is n
Then the successor of the number = n+1
and the predecessor of the number = n−1
Difference =n+1−(n−1)
=n+1−n+1
=2
hope it's helpful to you.
The difference between the successor and the predecessor of "n" is 2.
Given,
Any number: 'n'.
To find,
Difference between its successor and predecessor.
Solution,
We can see that any number 'n' is given here.
Now, we know that,
the successor of a number is the number that is its immediate follower or the next number to it, and,
the predecessor of a number is the number that it follows or the previous number.
So, for a number 'n',
its successor = n + 1,
its predecessor = n - 1.
Now, the difference of successor and predecessor of 'n' will be
= (n + 1) - (n - 1)
= n + 1 - n + 1
= 1 + 1
= 2.
Therefore, the difference between the successor and the predecessor of "n" is 2.
#SPJ3