Computer Science, asked by anushka07050, 1 month ago

write a program to print all even number from 0 to 10 in for next loop​

Answers

Answered by singhraghuraj072
1

Answer:

instead of 100 you can write 10 it will work

Explanation:

hope you understood , please mark me as brainlist

Attachments:
Answered by mohitsingh3852
7

Answer:

import java.util.*;

public class even

{

public static void main ( string args[ ])

{

Scanner in = new Scanner ( System.in);

int i,

for( i = 1,i < = 10,i++)

{

if( i %2== 0)

system.out.println ( "even number="+I);

}

}

}

Explanation:

mark as brainliest

pls thank my 10 answers for my hard work

Similar questions