Jumat, 21 Oktober 2011

Volume Kubus

import java.util.Scanner;
public class VolumeKubus
{
public static void main(String args[])
{
Scanner masuk = new Scanner(System.in);
int volumeKubus;
System.out.print("Masukan volume kubus : ");
volumeKubus = masuk.nextInt();
volumeKubus =
int
//System.out.println("masukan s ");
s = masuk.nextInt();
System.out.println("Volume kubus = " + volumeKubus);
System.out.print("Masukan s: ");
System.out.println("s* s* s* s= ");
}
}

Tidak ada komentar:

Posting Komentar