To run these programs, just copy the code given and then paste (ctrl + v) into the Qbasic compiler window.
Program using ONLY Print and Input :
Input "Enter a verb" ; verb$
Input "Enter a noun";noun$
input "Enter an adjective";adjective$
? "Once, there was one very ";adjective$;" ";noun$;". This ";noun$;" loved to ";verb$;". But one day, while attempting to cross the road, the ";noun$;" stopped in the middle and tried to ";verb$;". Then, a large car ran over the ";noun$
Program using ONLY Print and Input :
Input "Enter a verb" ; verb$
Input "Enter a noun";noun$
input "Enter an adjective";adjective$
? "Once, there was one very ";adjective$;" ";noun$;". This ";noun$;" loved to ";verb$;". But one day, while attempting to cross the road, the ";noun$;" stopped in the middle and tried to ";verb$;". Then, a large car ran over the ";noun$
No comments:
Post a Comment