My professor wrote this proof but i didn't understand some parts:
Suppose $x$ is a real number such that $x$ is not an integer. let $⌊x⌋=n$. By definition of floor and since $x$ is not an integer, $n<x<n+1$.
Then by multiplying $-1$ from each side of the previous equations, we get $-n>-x>-n-1$.
Note that $-n-1$ is an integer. Thus, by definition of floor, $⌊-x⌋=-n-1$.
Therefore, $⌊x⌋+⌊-x⌋=n+(-n-1)=n-n-1=-1$.
1- Why is $-1$ multiplied from each side?
2- How did we know that $-n-1$ is an integer?
3- Why is $⌊-x⌋$ equal to $-n-1$ yet we see that $-x$ is not equal to $-n-1$?
4- Why is $⌊x⌋+⌊-x⌋=n+(-n-1)=n-n-1=-1$?
keep in mind that I am still learning the basics of floor and ceiling functions. so, I would appreciate any help.