salary - cin, functions