contoh program menghitung spp dengan switch

import java.io.*;
public class latian{
public static void main(String[] auzt) throws IOException{
int KD_jur,Sks;
int sppT1,sppV1,sppT3,sppV3,TsppV1,TsppV3;
int Total1,Total3;
String Nama,Nim;

InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader (isr);

System.out.print("Masukan Nama Anda =");
Nama = (String) br.readLine();

System.out.print("Masukan Nim Anda =");
Nim = (String) br.readLine();


System.out.print("Masukan Jumlah SKS =");
Sks = Integer.parseInt (br.readLine()) ;

System.out.print("Kode jurusan 1=S1SI,0=D3MI\nMasukan Kode Jurusan =");
KD_jur = Integer.parseInt (br.readLine()) ;

sppT1 = 500000;
sppV1 = 55000;
TsppV1 = sppV1 * Sks;
Total1 = sppT1 + TsppV1;

sppT3 = 400000;
sppV3 = 50000;
TsppV3 = sppV3 * Sks;
Total3 = sppT3 + TsppV3;

switch (KD_jur){
case 1 :
{
System.out.println("Nama = "+Nama);
System.out.println("Nim = "+Nim);
System.out.println("Jurusan = S1-SI");
System.out.println("Jumlah SKS yang diambil = "+Sks);
System.out.println("Jumlah spp tetap = "+sppT1);
System.out.println("Jumlah spp variabel = "+TsppV1);
System.out.println("Total SPP = "+Total1);
}
case 0:
{
System.out.println("Nama = "+Nama);
System.out.println("Nim = "+Nim);
System.out.println("Jurusan = D3-MI");
System.out.println("Jumlah SKS yang diambil = "+Sks);
System.out.println("Jumlah spp tetap = "+sppT3);
System.out.println("Jumlah spp variabel = "+TsppV3);
System.out.println("Total SPP = "+Total3);
}
default :
{
System.out.println("Maaf kode jurusan yang anda masukan tidak ada.");
}

}}}