Pages

Banner 468

Minggu, 14 Agustus 2011

Program perhitungan rapot dengan JAVA

0 komentar
 
Program ini adalah perhitungan rapot dengan bobot nilai yang sudah di tentukan :

a. nilai UAS bobot nilai 40%
b. nilai UTS  bobot nilai 30%
c. nilai Tugas  bobot nilai 20%
d. nilai absensi  bobot nilai 10%

program ini di buat menggunakan java yang terdiri dari :

a. 2 file .java
b. 2 file .class
c. 1 file .jar

dimana proses di pisah dan di simpan di library sendiri
berikut program perhitungan rapot

* Proses mengompile 2 source file java menjadi file .class


* Proses mengompile 2 source file class menjadi file .jar


* Proses pemanggilan file.jar

* Proses mendapat input dari user



* Proses mendapatkan hasil setelah di hitung


source code : 

Proses nilai rapot :

import java.util.Scanner;

public class nilairapot
{
public int hasil1,hasil2,hasil3,hasil4;
public int UAS;
public int UTS;
public int TUGAS;
public int ABSENSI;
public double rata;
public void input()
{

Scanner s = new Scanner(System.in);
//input nilai
System.out.println("");
System.out.print("nilai UAS 4 pelajaran : ");
UAS = s.nextInt(); //input nilai integer

System.out.print("nilai UTS 4 pelajaran: ");
UTS = s.nextInt(); //input nilai integer

System.out.print("nilai TUGAS 4 pelajaran: ");
TUGAS = s.nextInt(); //input nilai integer

System.out.print("nilai ABSENSI : ");
ABSENSI = s.nextInt(); //input nilai integer

}

public void proses()
{
hasil1 = (UAS*40)/100;
hasil2 = (UTS*30)/100;
hasil3 = (TUGAS*20)/100;
hasil4 = (ABSENSI*10)/100;
}

public void rata()
{
rata = hasil1+hasil2+hasil3+hasil4;
}

public void cetak()
{
System.out.println("");
System.out.println("Bobot UAS 40% : "+hasil1);
System.out.println("Bobot UTS 30% : "+hasil2);
System.out.println("Bobot TUGAS 20% : "+hasil3);
System.out.println("Bobot ABSENSI 10% : "+hasil4);
System.out.println("");
System.out.println("nilai rapot :"+rata);
}
public void cekstatus()
{
if(rata>75)
{
System.out.println("selamat anda Lulus");
}
else
{
System.out.println("maaf anda tidak Lulus");
}
}
}

Proses pemanggilan fungsi :

public class nilairapottest
{
public static void main(String [] args)
{
nilairapot n = new nilairapot();
n.input();
n.proses();
n.rata();
n.cetak();
n.cekstatus();
}
}

Readmore...
Selasa, 09 Agustus 2011

J A V A

0 komentar
 

Percobaan dan Latihan Pemrograman  J A V A

Labs 1.1  :  java labs 1.1

Labs 1.2  :  java labs 1.2




Readmore...
Rabu, 20 Juli 2011

Battle Field 2 Online

0 komentar
 
Photobucket

  • First-ever attempted invasion of America -- all-out war comes to American soil
  • 3 new maps - Operation Harvest, Midnight Sun, Operation Road Rage
  • 6 new vehicles 1 new award - American Theater Special Service Ribbon
  • Head online for award-winning Battlefield franchise multiplayer action with up to 64 players.
  • Maps scale to the number of players engaging in battle (16, 32, or 64), for an intense experience every time.
  • Join a squad or select the new Commander Mode to assume the strategic role of a battlefield commander directing his forces. Enhanced squad structure includes VOIP commands and team stat tracking.
  • Earn medals, ribbons, unlockable weapons, and other items as you rise through the ranks from lowly Private to General
Photobucket
Photobucket

Minimum Requirment :

CPU:1.7 Ghz *
CPU:2.4 Ghz *
RAM:512 MB
RAM:1 GB
VGA:NVidia GeForce FX 5700, ATI Radeon 8500 or ATI Radeon 9500 with 128 Mb of RAM **
VGA:Video Card with at least 256 Mb of RAM **
DX:DirectX 9.0c
DX:DirectX 9.0c
OS:Windows XP (32 Bit Version)
OS:Windows XP (32 Bit Version)
http://gamesystemrequirements.com/
HDD:2.3 GB free hard drive space or more
HDD:2.3 GB free hard drive space or more
Sound:DirectX 9.0c compatible
Sound:Sound Blaster X-Fi series recommended



ODD:8x or faster CD/DVD drive
ODD:8x or faster CD/DVD drive
Network:Broadband (Cable, DSL, or a faster) connection. Internet or Network (2-64 players).
Network:Broadband (Cable, DSL, or a faster) connection. Internet or Network (2-64 players).

Download :
Serial Number :
6YPX - FR7M - QBCG - Y626 - 7RLD

Battlefield 2 Part1
Battlefield 2 Part2
Battlefield 2 Part3
Readmore...