Computer Science, asked by tanusreekar7, 1 month ago

write a program to display all even number upto 100 . using for loop in Java​

Answers

Answered by deepaktyagi8388
1

Answer:

those are multiple of 2 or end with even number

Answered by bspatel4444
2

Answer:

public class DisplayEvenNumbersExample1.

{

public static void main(String args[])

{

int number=100;

System.out.print("List of even numbers from 1 to "+number+": ");

for (int i=1; i<=number; i++)

{

Explanation:

Hope it helps you Army

Similar questions