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


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 ;="">
                System.out.print(" ");
            }
            for (int k=1; k<=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.



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here