The program adds 10 to 5 and prints 15 on the monitor.
The new program does exactly the same thing as the old program. The two programs are the same except for the comment in the new program. Since comments are ignored, the two programs do the same thing when they are run.
Comments are intended to make it easier for humans to figure out what a program does. When you write a program, you should use comments to explain what you are doing. QBasic ignores comments and just does what the statements ask.
Write a program that adds 1.5 to 4.2 and prints the result on the monitor.
(Write the program with paper and pencil. You can just think the answer, if you want, but please try to answer before continuing.)