*;
class Quiz1{
public static void main (String[]args) throws IOException{
BufferedReader br=new BufferedReader (new InputStreamReader(System.in));
System.out.print("Masukan Jumlah Baris: ");
int baris = Integer.parseInt(br.readLine());
System.out.print("Masukan Jumlah Kolom: ");
int kolom = Integer.parseInt(br.readLine());
If (Kondisi_1) then
Tahap Proses 1
Else If (Kondisi_2) then
Tahap Proses 2
Else If (Kondisi_3) then
Tahap Proses 3
…..
Else If (Kondisi_N) then
Tahap Proses N
Else
Tahap Proses Selain
Proses 1 sampai N
End If