Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Stuff {
- public static void main(String[] args)
- {
- int a;
- int b = 10;
- for( a = 1; a <= b; a++)
- {
- if(a%2 ==0)//Even Numbs
- {
- }
- else//Odd Numbs
- {
- System.out.println(a);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement