The answer is given below, what i want is to see the step bystep explanation of
ID: 3618878 • Letter: T
Question
The answer is given below, what i want is to see the step bystep explanation of the question:lifesaver points given. THANKS
public class Dem07{ public static void main(String[] args){ for(int i=0; i<4; i++){ for(int j=0; j<4; j++) if (i-1<j|j>=2) System.out.print(’+’); else System.out.print(’.’); System.out.println(); } } }
Answer: ++++ .+++ ..++ ..++ The answer is given below, what i want is to see the step bystep explanation of the question:
lifesaver points given. THANKS
public class Dem07{ public static void main(String[] args){ for(int i=0; i<4; i++){ for(int j=0; j<4; j++) if (i-1<j|j>=2) System.out.print(’+’); else System.out.print(’.’); System.out.println(); } } }
Answer: ++++ .+++ ..++ ..++