Function call
System . out . println ( " Average ▁ by ▁ Standard ▁ method : ▁ " + String . format ( " % .10f " , average ( arr , N ) ) ) ; System . out . println ( " Average ▁ by ▁ Efficient ▁ method : ▁ " + String . format ( " % .10f " , mean ( arr , N ) ) ) ; } }