Project 13

One - dimensional Array, Floor Function(50 points)


Sample output1

Enter number 1 : 56.123

Another number? (y/n): y

Enter number 2 : 95.8

Another number? (y/n): y

Enter number 3 : 11

Another number? (y/n): n


The Average
-----------

( 56.123 + 95.8 + 11 ) / 3 = 54.31



Sample output2

Enter number 1 : 5

Another number? (y/n): y

Enter number 2 : 26

Another number? (y/n): y

Enter number 3 : 8

Another number? (y/n): y

Enter number 4 : 56.254

Another number? (y/n): n


The Average
-----------

( 5 + 26 + 8 + 56.254 ) / 4 = 23.81