ex1

an anonymous user · June 30, 2020 · Java

    public class Fors{
        static int i;
        public static void main(String args[]){
            for (i=0;i<3;i++){
                System.out.print(i);
                }
            for (i=2;i<3;i++){
                System.out.print(i);
                    
                }
             for (i=0;i<2;i++){
                System.out.print(i);
                    
                }
            System.out.print(Fors.i);
        }
    }

Comments

Please sign up or log in to contribute to the discussion.