Computer Science, asked by neelimavyas16, 1 year ago

find erose in following:

a) If A = 10A then print A$ else print B

b) If X = "Hello" then print Hi Friend else print Bye Friend



It is the question of QBASIC ​

Answers

Answered by satakshiaggarwal9
0

Here in both the question we are using if statement whose work is to check the condition and then execute accordingly.

'=' is an assignment operator that assigns value, it does not compare two values. Here, == should be used instead of = for checking the condition by comparing two values.

This is a compile time error.

Similar questions