import java.util.Scanner ;
class kubus {
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
System.out.println("Masukan sisinya =");
int s=input.nextInt();
int luas= s*s;
System.out.println("Luasnya =" + luas);
}
}
run:
Masukan sisinya =
0 komentar:
Posting Komentar