Posts

Showing posts from October, 2012

MATERI KULIAH

SEMESTER 1 SEMESTER 2 SEMESTER 3 SEMESTER 4 SEMESTER 5 SEMESTER 6 SEMESTER 7 SEMESTER 8

PERCABANGAN DENGAN OUTPUT NILAI

Tugas 1 1. Program mementukan kelulusan dihitung dari UTS, UAS, Quiz, Tugas contoh Masukkan Nama = FIKI IRAWAN Masukkan NIM = 3095111*** Nilai UTS = 80 Nilai UAS = 70 Nilai Quiz = 75 Nilai Tugas = 60 Output : "Saudata Irwan Cholid Husain Nilai Akhir Anda Adalah 73 Anda Dapat B" *keterangan Nilai Akhir = 0,3 x UTS + 0.4 x x UAS + 0,2 x Quiz + 0,1 x Tugas Nilai A -> 80 - 100 Nilai B -> 65 - 79 Nilai C -> 55 - 64 Nilai D -> 45 - 54 Nilai E -> 0 - 44 Jawaban: import java.util.Scanner; class fikI_irawan{ public static void main(String[] args) { Scanner scansod = new Scanner(System.in); System.out.print("Nama : "); String nm = scansod.nextLine(); System.out.print("Nim : "); double absen = scansod.nextDouble(); System.out.print("Uts : "); double uts = scansod.nextDouble(); System.out.print