Computer Science, asked by varunthakur8b35, 4 months ago

Rewrite the following statements after correcting them:
a=10
b=20
If (a>b)
print(a)
Else:
Print(b)​

Answers

Answered by Anonymous
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
Anonymous: you*
Answered by kaushalghimire101
0

Answer:

CLS

a=10

b=20

If a<b THEN PRINT a;

Else PRINT b;

END

Explanation:

QBASIC

Similar questions