Rewrite the following statements after correcting them:
a=10
b=20
If (a>b)
print(a)
Else:
Print(b)
Answers
Answered by
11
a=10
b=20
If (a>b):
print(a)
Else:
print(b)
the mistake was that it didnt gave colon ':' after the if statement in line number 3 and the 'p' of print function in line 6 will be small
Anonymous:
hope it helps yuou
Answered by
0
Answer:
CLS
a=10
b=20
If a<b THEN PRINT a;
Else PRINT b;
END
Explanation:
QBASIC
Similar questions