No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey, just a quick question, I have a function to double the size of a string array and another function to use StdIn to populate the array my code is public static String[] read() { String[] a = new String[5]; for (int i = 0; i < a.length; i++) a[i] … |
|
Hello, I just have a quick question, I have two while loops that don't quite do what I want while (e == true && num != 1) { do statement } while (e == false && num !=1) { do different statement } if (num == 1) { System.out.println(value); } … |
|
hey this sounds like a really simple question to me but I can't seem to figure out how to do it! My code so far is public class numbers { public static void main(String[] args) { final int N = (args.length); for (int i = 0; i < N; i++) … |