CIW Exam Questions

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” }