Page 1 of 1

1 Ask the user how many numbers they want to add.2 Allocate an ArrayList that can contain Integer data. Name this varia

Posted: Mon May 02, 2022 12:21 pm
by answerhappygod
1 Ask the user how many numbers they want to add.2 Allocate an ArrayList that can contain Integer data. Name this variable randomList3 Loop the required number of times, adding a random number between 1 and 100 to randomList.4 Using a for loop, calculate the total and the average of the values in randomList.