whoDatHYC01

100 PRINT “Hello”
200 PRINT “What is your name?”
300 INPUT name$
400 IF name$= “Chen” THEN GOTO 700
500 IF name$= “Li” THEN GOTO 750
600 IF name$= “Lev” THEN GOTO 800
700 PRINT “You are handsome.”
701 PRINT “Bye.”
702 END
750 PRINT “You are beautiful.”
751 PRINT “Bye.”
752 END
800 PRINT “Bye Bye”
801 END

Advertisements

Conditional and Converses

Conditional:If you does running. Then you play track and field.

Converse: If you play track and field. Then you does running. (F)

Track and field also does shot-put.

 

Conditional: If you like food. Then you know how to cook.

Converse: If you know how to cook. Then you like food. (F)

You get just know how to cook because its your job.

 

Conditional:If you like to be on computer. Then you wear glasses.

Converse: If you wear glasses. Then you like to be on computer. (F)

You also need glasses if you on your phone all the time.