Hello again, I would like to know if someone could give me a rundown of how setting a basic boolean return function goes. For example; If the user enters 5 return truth. else false. But of course without using "cout>>"false" or vice versa. Thanks in advance.
P.S. Although unrelated for those wondering why I'm asking this it's just to clarify a few things, I'm not so lazy as to make someone write my code for me which I'm saddened to have discovered is what many have done and will do. I actually enjoy spending late nights constantly checking my own code over and over telling myself I know this.
Got it to work, thanks. I'd just like to ask how can i change if it displays the actual words "true" or "false" , instead of it's interpretation being 0s or 1s. or is that as much as I'm allowed since I asked for a bool return type?