June 23, 2019
Please comment the code in the comments section, it will be added to this post.
Login/Signup to comment
for(int i=m;i<=n;i++) { if(i%2!=0) System.out.print(i); }
for(int i=m;i<=n;i++)
{
if(i%2!=0)
System.out.print(i);
}