You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##Description
A boolean (true/false) variable can be either true or false (see boolean type).
##Example
var found : boolean := false
var word : int
for i : 1 .. 10
get word
found := found or word = "gold"
end for
if found = true then
put "Found 'gold' in the ten words"
end if
##Details
The line iffound=truethen can be simplified to iffoundthen with no change to the meaning of the program.