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
English,
6 months ago
English,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
Science,
1 year ago