Syafi'i Blog's'

Kamis, 08 Januari 2009

Tugas 1

class tugas
{
int A=11;
int B=10;
int C=9;
int D=8;
int E;
public static void main(String[] args)
{
tugas mv = new tugas ();
System.out.println("Panjang luar =" +mv.A);
System.out.println("Panjang dalam =" +mv.B);
System.out.println("Lebar Luar =" +mv.C);
System.out.println("Lebar Dalam =" +mv.D);
System.out.println("Luas Arsir ="+((mv.A * mv.C-mv.B * mv.D)));
}
}

0 komentar:

Template by : auraipank x-template.blogspot.com