Computer Science, asked by genius44, 1 year ago

how to WAP to find all even numbers whitin given range

Answers

Answered by Pratyush0705
0
I am writing just the body....let the starting be x and ending be y....

for(int i=x; i<=y;i++)
{
if(i%2==0)
System.out.println(i) ;
}
Similar questions