C++ Bool problem

Actually here in the code the bool function returns true or false but c++ shows output as 0 and 1 . So i think there is some bool alpha concept can you help me with that .
Or if there is any other method of it
My code is -https://ide.codingblocks.com/s/311898

if you were to print true it would print 1 and false as 0.

What if i have to print true and false is there any way ?

print true or false as string

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.