source code float pada java
ni source code laen nya di java yaa :)
public class eksplisit {
public static void main(String[]args){
System.out.println(" mencari luas balok ");
float p; float l; float t;
float hasil;
p= (float) 0.50;
l= (float) 0.30;
t= (float) 0.60;
hasil= p*l*t;
System.out.println(" panjang = 50");
System.out.println(" lebar
= 30");
System.out.println(" tinggi
= 60");
System.out.println("hasil:" +hasil);
0 Response to "Source code float pada java"
Posting Komentar