Driver program to test above function
public static void main ( String [ ] args ) { int diameter = 5 ; int height = 10 ; System . out . println ( " Perimeter ▁ = ▁ " + perimeter ( diameter , height ) + " unitsNEW_LINE"); } }