if ($a) { #Loop test for variable $results = "Yes!"; #Success?} else { #or maybe $results = "no"; #Failure}
print $results; #Let's find out
1
Expert's answer
2015-07-22T08:23:43-0400
Answer: Program in such a way as it is written will not work, because he has syntax errors . Character # refers to the entire line a comment. After correction program has look: $a="no"; # assign variable if ($a) { #Loop test for variable $results = "Yes!"; #Success? } else { #or maybe $results = "no"; #Failure } print $results; #Let's find out
Comments
Leave a comment