1.    Find the minimum and maximum of sequence of 10 numbers stored in array.


    2.    Find the total and average of a sequence of 10 numbers stored in array.


    3.    Following list represents the data units used by three persons. Create an array to store these details and print the list.

person

work

mobile

home

1

500

1000

300

2

10

1800

200

3

200

400

700


    3.1.     Find the total unit consumed.

    3.2.     Find the total consumption of units for each phone type.

    3.3.     Who consumed maximum unites for mobile phones?

    3.4.      Who pays highest phone bill?

    3.5.      Who pays lower phone bill?

    3.6.      How many units are consumed by person 3?        


                        Answer click here.