No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
This is the instructions Program converts American football plays into scoring points Touchdown – 6 Extra point after touchdown – 1 Field goal – 3 Touchback – 2 Program reads play-name and uses “if-statement” to decide how many points to award Program does calculations in a loop to allow more … | |
I am trying to get this to work and am stuck. I run a JUnit test and get a few failures. Can someone show me the way to make this work? [CODE] /** * int numberOf(String s, String characters) * * Returns the number of times any of the chars … | |
[CODE] package code; public class CharacterCounter { /** * int numberOf(String s, char c) * * Returns the number of time the char c occurs in the String s * * @param s is the original String * @param c is the char whose count in s we want to … | |
I am new to Java and could use some help. Trying to write something using scanner or a JoptionPane to convert inputs from Gregorian to Julian. Then use interface to convert it the other way. How do I start and what do I do? | |
I am trying to do several things. 1. Intialize - engage a user in a series of questions to assign values to the class variables, no args, no return value, called from constructor. 2. Display - displays all the class values, each in an sentence, no args, no return value. … | |
I am trying to count words. It should count the same word once instead of twice. I can't seem to figure that out. [CODE] import java.util.*; public class WordCount { public static void main (String[]args) { final int LINES = 6; Scanner in = new Scanner(System.in); String paragraph = ""; … |
The End.