< param name=name0 value=Jones > < param name=data00 value=12.35 > < param name=data01 value=16.45 > < param name=name1 value=Smith > < param name=data10 value=13.45 > < param name=data11 value=12.32 > < param name=name2 value=Aaron > < param name=data20 value=16.24 > < param name=data21 value=32.12 > < param name=name3 value=Jordan > < param name=data30 value=16.74 > < param name=data31 value=23.02 >Write an applet which will read the name field into a one - dimensional array as follows :
name = "Jones", name = "Smith", name = "Aaron", name = "Jordan" ...
Read the transactions into a two - dimensional array as follows :
tran = 12.35, tran = 16.45
tran = 13.45, tran = 12.32
tran = 16.24, tran = 32.12
tran = 16.74, tran = 23.02
Assume additional parameter tags of names can be added with exactly two transactions per person. Have your applet find and output the total sum of transactions per person. In addition your applet must find and output the count and sum of all transctions. It must also call an object which will return only the value of the average transaction. The returned average must be rounded to dollars and cents. Make sure your applet produces the sample output below.