prin
4. Write a for loop that displays the even numbers from 61 to 100
Answers
Answered by
1
Question:-
Write a for loop that displays even number from 61 to 100.
Program:-
class x
{
public static void main()
{
for(int i=62;i<=100;i+=2)
System.out.print(i+" ");
}
}
Similar questions
Social Sciences,
2 months ago
Social Sciences,
2 months ago
Chemistry,
5 months ago
Hindi,
5 months ago
Math,
10 months ago
Physics,
10 months ago
Math,
10 months ago