Which one of the following statements uses correct syntax?

Which one of the following statements uses correct syntax?

Which one of the following statements uses correct syntax?

A.
if ( $day eq “today” ) print ( “current” );

B.
if ( $day = “tomorrow” ) print ( “future” );

C.
if ( $day eq “yesterday” ) {print ( “past” ):}

D.
print ( “past” ) if {$day eq “yesterday” }



Leave a Reply 0

Your email address will not be published. Required fields are marked *