Find the average of first N natural numbers | Return the average of first n natural numbers ; Driven Program
function avgOfFirstN ( n ) { return ( 1 + n ) / 2 ; } let n = 20 ; document . write ( avgOfFirstN ( n ) ) ;