Computer Science, asked by vrushankaadepu6667, 1 year ago

compare LET and INPUT command with the help of example in QBASIC

Answers

Answered by Naresh5551
1


INPUT : 1. Programmer allows the user to assign the value

LET : 1. Programmer assigns the value while writing the program.

INPUT : 2. Different values could be entered in different times of execution.

LET : 2. Values could not be changed during execution till they are changed from the source.

INPUT : 3. INPUT "Enter 1st Number : "; a

INPUT "Enter 2nd Number : "; b

c=a+b

Print "Result : "; c

LET :3. Let a = 12

Let b = 10

c=a+b

Print c

Similar questions