Computer Science, asked by sarfaraz458, 4 days ago

2. Rewrite the programs after correcting the errors in the given ..
a. n=6 If N%2 = 0; Print "n, is divisible by 2"
b. a=10, b= 20 Sum = a + b - Print(Sum of numbers is +sum)

C. num 1=50 Num2=60 If Num1 < Num2 Print num1 is smaller than Num2 Else Print Num2, is greater than Num1​

Answers

Answered by lotogotoo
3

Answer:

a. n=6

if n%2==0:

print(n+" is divisible by 2")

b. a=10;b=20;sum=a+b

print("sum of numbers is "+sum)

c. n1=50;n2=60

if n1<n2:

print('n1<n2')

else:

print('n2>n1')

Answered by satyadm01
0

Answer: idk

Explanation: i really dont know im sorry

Similar questions