Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #44.2K
Ranked #3K
~2K People Reached
Favorite Forums
Favorite Tags
java x 4
Member Avatar for JRabbit2307

import java.util.Scanner; public class AverageArray { public static void main(String[] args) { final int TOTAL_NUMBERS = 10; int[] numbers = new int[TOTAL_NUMBERS]; float sum; //Create a Scanner Scanner input = new Scanner(System.in); //Read all numbers for (int i = 0; i < numbers.length; i++) { System.out.print("Enter a number:"); //Conver String …

Member Avatar for Foxh451
0
474
Member Avatar for JRabbit2307

hi guys i'm trying to get the sum, average, and the number of values in the array greater than the average... i am new to this and keep getting errors! helllpp.. [code=java]import java.util.Scanner; public class AverageArray { public static void main(String[] args) { final int TOTAL_NUMBERS = 10; int[] numbers …

Member Avatar for masijade
0
997
Member Avatar for sweebez

Hello! I'm having a bit of confusion here regarding toStrings and Constructors. Namely, why would you ever need them? I have a project for my course, and in it, I use a method that checks for a creature's "energyLevel" to see if that creature is still "alive". This method returns …

Member Avatar for 0805638
0
633