Hey! Would you please help me do this program?

Write a program RandomDataAnalyzer that generates 100 random numbers between 0
and 1000 and adds them to a DataSet. Print out the average and the maximum.