Computer Science, asked by varshini2456, 1 year ago

write a program to accept 10 numbers and print only even numbers(by for loop)

Answers

Answered by tjjw13
5
Class Num
{
Public static Void main()
{
int i;
for( i=2;i<=20;i+=2)
{
System.out.println(i);
}
}
}
HOPE This Helped You!!!
Plzz mark as brainlist answer!!!

tjjw13: brainlist plzzz
tjjw13: i need one fr new rank
Similar questions