/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */

/**
 *
 * @author Isnandar Fajar Pangestu <193140914111026>
 */
public class LuasKubus {
    
    public static void main(String[] args){
        double r = 5;
        double luas = Math.PI * r * r;
        double keliling = 2 * Math.PI * r;
        System.out.println("Luas = " + luas);
        System.out.println("Keliling = " + keliling);
    }
}
