0

Used hints to solve but why is there a "bool" in there?

I do not remember covering "bool" at all and from the looks of it the first missing blank should be "Box". If I am wrong then can you please clarify why and/or explain the bool?

28th Jan 2017, 6:33 PM
Sam Hudgins
Sam Hudgins - avatar
6 Answers
0
if bool is short for boolean ...then it is a data type like int and string.. it can take two possible values.. true or false.
28th Jan 2017, 6:42 PM
Pankaj Vaghela
Pankaj Vaghela - avatar
0
I see it now. We had not used many bools in examples and that particular one was asking true or false and not for a particular value.
28th Jan 2017, 6:46 PM
Sam Hudgins
Sam Hudgins - avatar
0
it's of special help when using if statement and while loops
28th Jan 2017, 6:47 PM
Pankaj Vaghela
Pankaj Vaghela - avatar
0
I belive that should be "Box" and not bool to...could it be a mistake???
3rd Apr 2017, 1:54 AM
Tiago
0
Missed this one too... The first one.
14th May 2017, 8:44 PM
Marius Scutaru
Marius Scutaru - avatar
0
the return value of the overloading operator is boolean that's why it needs a bool for that specific problem, even I was confused for the blank space need four characters to be filled in.
11th Jun 2017, 4:46 AM
Herlem A. Martinez
Herlem A. Martinez - avatar