Write a BASIC-256 program to print even numbers from 0 to 20 using for loop.
Answers
Answered by
0
Answer:
import java.util.*;
class Brainly
{
public static void main(String args[])
{
for(int i = 0; i < 20; i++)
{
if(i%2==0)
{
System.out.print(i);
}
}
}
}
Explanation:
Similar questions