Otaku Zone

Your description goes here

  • RSS
  • Delicious
  • Facebook
  • Twitter

Popular Posts

Hello world!
Righteous Kill
Quisque sed felis

About Me

Yamato_Ryoumaru
View my complete profile

Popular Posts

Thumbnail Recent Post

Righteous Kill

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in ...

Quisque sed felis

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in ...

Etiam augue pede, molestie eget.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in ...

Hellgate is back

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit ...

Post with links

This is the web2feel wordpress theme demo site. You have come here from our home page. Explore the Theme preview and inorder to RETURN to the web2feel home page CLICK ...

Archive for 08.11

Kali ini saya akan beralih profesi dengan mempost kan program yang saya buat.

script Penghitungan nilai rapot

import java.util.Scanner;

public class statusRapot
{

double hasil(double nilai1,double nilai2,double nilai3,double nilai4)
{
boolean status;
double hasil = (nilai1 + nilai2 + nilai3 + nilai4)/4;

System.out.println("Nilai Rapot Anda adalah :" +hasil);

status = (hasil > 75)? true  :  false ;
if (status ==  true ) System.out.println("Anda : Lulus !");
else  System.out.println("Anda : Tidak Lulus. Coba Kembali");

return hasil;
}
}



script status rapot :


import java.util.Scanner;

public class statusRapot
{

double hasil(double nilai1,double nilai2,double nilai3,double nilai4)
{
boolean status;
double hasil = (nilai1 + nilai2 + nilai3 + nilai4)/4;

System.out.println("Nilai Rapot Anda adalah :" +hasil);

status = (hasil > 75)? true  :  false ;
if (status ==  true ) System.out.println("Anda : Lulus !");
else  System.out.println("Anda : Tidak Lulus. Coba Kembali");

return hasil;
}
}


Ini adalah ScreenShot dari program di atas :


Download Here