No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Greetings! I am trying to complete the last part of an assignment, though the 2d Arrays are stumping me. The comments are what is supposed to be done, and the rest of the code is stuff I've tried but has not worked. Any assistance would be greatly appreciated. Thanks! [CODE] … |
|
I am trying to read a file using a string input as the filename. For example, if the filename is datafile.txt then if the input is "datafile.txt" and there is a file of that name in the directory, how do I read it? Here is my initial code: [CODE]Scanner kbd … |
|
Hello. I'm attempting to start a Caesar cipher program and can't get the program to display the output key[1]. Here is my code: [CODE]import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Caesar { private String[] key = new String[26]; public static void main(String[] args){ Scanner kbd = new Scanner(System.in); String … |
|
[B]I have been given a chunk of code from my teachers, and I just need help getting it to run. I'm very new to java so any help is much appreciated. Here it is:[/B] [code] import java.util.*; import java.io.*; public class CourseStats { static String[ ] studentNames; static int[ ][ … |