Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Project {
- public static void main(String[] args) {
- int [] values = {1, 2, 3, 4, 5, 6, 7, 8, 9};
- int i = 0;
- while(i < 9){
- System.out.println(values[i]);
- i = i+2 ;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement