Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~522 People Reached
Favorite Forums
Favorite Tags
java x 18

4 Posted Topics

Member Avatar for theStruggler

I want to write a program to conduct a binary search and return all the occurrences of a number to the user. I succeeded in coming up with a binary search method but I don't know how to make return all the occurrences of the number. Here is my code …

Member Avatar for theStruggler
0
118
Member Avatar for theStruggler

Hey everyone, I am trying to write a code which would read a file and print the number of words and sentences in each of them. I want to take everything step by step; so I am making sure that all my methods work perfectly before proceeding. In the code …

Member Avatar for theStruggler
0
109
Member Avatar for en1gmat1c

If you want to check whether a string is equal to another, use the .equals method. For example: [CODE]... String one = "X"; String two = "X"; if (one.equals(two)) { System.out.println(one + " = " + two); } ...[/CODE] The output should be [CODE]X = X[/CODE] Try using it with …

Member Avatar for theStruggler
0
174
Member Avatar for theStruggler

I have to write a program to censor a string. Whenever I run the program, it works fine the first time, then stops progressing the second time after entering the bad word. I don't get what the problem is. PLease help: java.util.Scanner; public class stringCensorRunner { /** * @param args …

Member Avatar for theStruggler
0
121

The End.