- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
The standard deviation of a list of numbers is a measure of how much the numbers deviate from the average. If the standard deviation is small, the numbers are clustered close to the average. If the standard deviation is large, the numbers are scattered far from the average. The standard … |
|
hi everyone, i need help with a project that i am doing. i need to use inheritance and arrays to make a poker game, making a card class and a poker class that extends the card class in the card class i would need to use arrays to make a … |
|
Is there a way to make an 'if' statement that applies to the whole code? I'm doing a user-input text-based program. And I basically want the user to be able to type 'quit' at any time, and that'll end the program. But I don't really want to have [CODE] if … |
|
[code=java] import java.util.*; public class factorial { public static void main(String[]args) { int m,f,n; System.out.println("Factorial Solver"); System.out.println("Enter a number"); Scanner sc = new Scanner(System.in); n = sc.nextInt(); m = 1; f = 1; f = f * m; while (m != n) { m = m + 1; } f … |
|
Good Day, I have an Abstract Class, Student, which has two child classes, FulltimeStudent and PartTimeStudent. I use the class, Test, to test how many credithours each student has and how much financial aid each student is getting. My output requests that firstly, i enter wheter a student is Full-time, … |
|
hello again everyone to pick up where i left off, i took the advice of a member and split my poker game up into different classes which i will post below 1)i need help with two errors in the poker class which i have commented out as compiler error messages … |
|
Design a class called BubbleSort that is similar to the class SelectionSort. The class BubbleSort will be used in the same way as the class SelectionSort, but it will use the bubble sort algorithm, which is [CODE=syntax] for(int i = 0; i < a.length-1; i++) if(a[i]>a[i+1]) interchange the values of … |
|
THis program is supposed to take a number (1-5) from the user. After each number is entered, it should ask how many of each product they want, then show the total for that product and and overall total at the end. I have to use a swich statement. And stop … |
|
hey again i hate to be a bother but i still can't get this to work my driver program(the second code) won't call the add method or the minus method to subtract input i tried to do this in my code below and have failed if you have any suggestions … |
|
hello again, i hate to be a bother but this is the third day im working on this assignment and i need a little help ill point out the 2 lines im having trouble with in my driver program(driver1) but ill supply you with the class definition and the driver … |
|
hi everyone, i need help with an assignment that i'm having trouble with. I need to create a class called Money whose objects represent amounts of money, with two instance variables of type int for the dollars and cents in the amount of money i got the constructors down but … |
|
i need help with converting celsius to fahrenheit and vice versa in my program. for example, if someone would input 0C for the first temperature and 32F for the second temperature, i need to convert one of these temperatures so that my equals method can recognize that they are equal … |
|
i have a question on how i could calculate the overall score of the users input using five instance variables, three for three quizzes, one for a midterm and one for a final exam. the quizzes are graded between 1 and 10 while the midterm and final are graded between … |
|
how can i loop a whole code and make it repeat until the user wants to stop. |
|
how can i set a boolean to put in an if else statement with the following code if((Math.abs(x)==1)&&(Math.abs(ex)==1)&&(Math.abs(exx)==2))//test for straight System.out.print("Straight"); if((cardSuit==0)&&(cardSuit2==0)&&(cardSuit3==0))//test for flush System.out.print(" Flush "); i want to set a boolean straight and boolean flush to put in another if else statement like so if(straight && flush) System.out.println("Good … |
|
hey again i've fixed my code a little and need a little help. I've got the flush and one pair determinations to work but the three of a kind, straight, straight flush and royal straight flush are giving me a little trouble. If anyone has any suggestions, i would really … |
|
im trying to write a program that determines the type of hand with three cards (one pair, three of a kind, straight, flush, straight flush, high or low card, or royal straight flush) This is my code so far. I got the cards to come up to be what they … |