write a program to print even number from 1 to 20
Answers
Answered by
2
maximum = int(input(" Please Enter the Maximum Value : "))
for number in range(1, maximum+1):
if(number % 2 == 0):
print("{0}".format(number))
Answered by
2
Answer:
CLS
FOR I = 1 TO 20
IF I MOD 2 =0 THEN PRINT I
NEXT I
END
Explanation:
HOPE IT HELPS
Similar questions