Programs of counter variable java for practice class 7
Answers
Answered by
0
I study in class 7 but I didnt understood the ques
Answered by
0
Answer:
counter = 0
for i in [1,2,3,4]:
if i % 2 == 0:
print("even number")
else:
print("odd number")
counter += 1
print(counter)
Similar questions
Science,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
Music,
11 months ago
Science,
1 year ago