Home
Kategori
IMK
SPI
ISD
IBD
TU
ALGO
MAT
B I
Biodata
Materi IMK
Tugas IMK
Get paid to share your links!
Minggu, 17 Maret 2013
JOption dengan Nilai dan Predikat
Browse »
Home
»
Praktikum Dapro
» JOption dengan Nilai dan Predikat
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author nizar zulmi */ import javax.swing.*; public class nilai_joption { public static void main(String [] args){ int aa=100; int ao=80; int ae=70; int au=60; int oo=0; String lulus=""; String data=JOptionPane.showInputDialog(null,"Masukkan Nilai Anda:"); int Nilai=Integer.parseInt(data); if(Nilai>=ao&Nilai<=aa){ lulus =" A"; } if(Nilai>ae&Nilai
au&Nilai
oo&Nilai
Hasil:
Judul:
JOption dengan Nilai dan Predikat
; Ditulis oleh
mazmy
; Rating Blog:
5
dari 5
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar