spending: y savings: x-y part of salary which is saving = (x-y)/x
You can ask a new question or answer this question.