Home
Teknologi
cerita inspirasi
Animasi Saya
Programming
About Us
Privacy Policy
Translate
Friday, March 27, 2015
Program Java Untuk Mencari Kuadrat Suatu Bilangan Dengan Menggunakan Array
public class kuadratarray
{
public static void main(String args[])
{
int kuadrat[];
kuadrat = new int[10];
for (int i=0;i<10;i++)
{
kuadrat[i]=(i+1)*(i+1);
System.out.println("Kuadrat "+(i+1)+ " = "+kuadrat[i]);
}
}
}
2 comments:
Unknown
October 2, 2015 at 9:38 AM
follback gan
http://jogjaxdiary.blogspot.co.id
Reply
Delete
Replies
Reply
gtz
October 29, 2015 at 5:56 PM
oke gan
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
follback gan
ReplyDeletehttp://jogjaxdiary.blogspot.co.id
oke gan
ReplyDelete