No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I am getting my program to compile but it will not run. It is supposed to take a three digit number, reverse it, then subtract and add the original and reverse number. Why is this not printing out? Code: public class Rev { public static void main(String[] args) { int …
The writefile method should write out to the given output file all the integers in the given array, one per line. For this part, the merge method should return a new array big enough to hold the content of the first two arrays (a and b), and then the first …
I am creating a program that takes two english words from the command line and prints one out vertical and the other horizontal and sees how many times the words cross. If they don't cross it then prints out an error message. Here is what I have so far for …
I am trying to figure out how to print out w1 and w2 at the point it crosses like so: b l ottery a t .... and so on Here is my code. public class Assg2 { public static void main(String[] args) { String w1 = args[0]; String w2 = …
The End.
katie6580