Write a program that asks the user to enter 13 integers. Each integer must be less than 125. (Ask user again if integer is not less than 125.). Then print the average of these integers, and the largest integer of these integers.
create a place to store the integers. an array or list of some sort. create some kind of loop mechanism that restarts if the integer entered is over 125 print the sum of the list/13
Can you code the program please.
@bibby
what language
Java
you're going to have to help me. ``` package averagerrr; public class avg { public static void main(String[] args) { //add an array to accept 13 members //loop over the 13 members and start accepting input //check the input to make sure it's under 125 } } ```
Join our real-time social learning platform and learn together with your friends!