No, that doesn't fit with the programs specifications and we want to avoid providing fully executable code. Your example only provides the average for 3 numbers (granted, it works for as many 3...
Type: Posts; User: DougFane
No, that doesn't fit with the programs specifications and we want to avoid providing fully executable code. Your example only provides the average for 3 numbers (granted, it works for as many 3...
It sounds like you need to learn about arrays. Using an ArrayList, you can add items to an object array (you have to wrap the grades in an integer object wrapper) and then average them all at the...