6. Same Task : Two Languages PRINT "Hello World" InputString$ = INLINE$("What is your name > ") InputString$ = InputString$ + " Welcome to Programming" PRINT InputString$ cout << "Hello World" << endl; cout << "What is your name ?" << endl; gets(InputString); strcat(InputString," Welcome to Programming"); cout << InputString << endl;
11. BOTH : Conditional AND Loop FOR K = 1 TO 10 IF ( K < 5 ) THEN PRINT "I will not be naughty" K ELSE PRINT " I will not be naughty ... but i am getting tired " K END IF NEXT K