Write a basic program to find the even numbers till 20
Answers
Answered by
1
this is the write answer of this question
Attachments:
ayush6338:
it is Java program
Answered by
1
the answer is:
class p1
{
void main()
{
for(int i=1;i<=20;i++)
{
if (i%2==0)
{
System.out.print(i);
}
}
}
}
Similar questions