Menentukkan angka terbesar dengan java..:D

toeng..toeng…kembali lagi buat pemula java…,this day very bad for me…but i will give you smile…:D


public class NumberTerbesar{

public static void main(String[] args){
BufferedReader m = new BufferedReader(new InputStreamReader(;

String Input = “”;
//int i = 0;
int a = 0;
int tampung[] = new int[10];

for (int i=0;i a)
a = tampung[i];
}catch(IOException e){
System.out.println(“Ada Kesalahan Program”);

System.out.println(“Angka Terbesar Anda adalah:”+ a );


sorry article private for begginer java..not experience..ok….try it and if you want comment in below…qwkkqwkqkwq…:D


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s