import java.util.*;public class Main{ public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a1= sc.nextInt(); int b1=sc.nextInt() ; int c1=b1/2; int i =1 ; while(i<> for( int j=1 ; j<=c1-i ;="">=c1-i> System.out.print(" "); } for (int k=1; k<=a1;>=a1;> System.out.print("="); } System.out.print("\n"); a1=a1+2; i++; } }}
Explain in your own words how one important method of your program above works.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here