Computer Science, asked by pratyush191, 26 days ago

java program to print even no. from 1 to 100​

Answers

Answered by khushiagarwal27611
2

Answer:

int n = 0;

for( i=100;n<=i;n= n+2);

{

System.out.println(i);

}

this is the main part of the program hope it helps

Similar questions