W.A.P to print average of ten Numbers, numbers enters using Command-Line argument passed to main method

Print average of ten Numbers, numbers enters using Command-Line argument passed to main method



Output :

D:\java pratical programs> java AvgNumber 1 2 3 4 5 6 7 8 9 10

Average of (1,2,3,4,5,6,7,8,9,10)=5.5

Post a Comment

0 Comments