# Search:

Type: Posts; User: Knowledge_Feeds_The_Mind

Page 1 of 2 1

1. ## Thread: Help With GUI, TroubleShooting Retail Price Calculator.

by Knowledge_Feeds_The_Mind
Replies
1
Views
2

### Help With GUI, TroubleShooting Retail Price Calculator.

Before I start explaining what my problem is I would like to apologize for the length of the code, it is my first time doing a GUI Program.
I have to create a GUI application where the user enters...
2. ## Thread: Help with Multi-dimensional Arrays. Help needed urgently!

by Knowledge_Feeds_The_Mind
Replies
10
Views
11

### [SOLVED] Re: Help with Multi-dimensional Arrays. Help needed urgently!

Thanks, I finally solved my problem. I really appreciate all the help you have given me! :D :D
If it had not been for your insight it probably would have taken me much longer, thank you so much...
3. ## Thread: Help with Multi-dimensional Arrays. Help needed urgently!

by Knowledge_Feeds_The_Mind
Replies
10
Views
11

### [SOLVED] Re: Help with Multi-dimensional Arrays. Help needed urgently!

So, I solved it. Now I only need help with calculating the major diagonal

public static double sumColumn(double[][] matrix, int column){

int row;
double sum = 0;
//below is...
4. ## Thread: Help with Multi-dimensional Arrays. Help needed urgently!

by Knowledge_Feeds_The_Mind
Replies
10
Views
11

### [SOLVED] Re: Help with Multi-dimensional Arrays. Help needed urgently!

this is the code where the summation is completed:

public static double sumColumn(double[][] matrix, int columnIndex){

double sum = 0;
//below...
5. ## Thread: Help with Multi-dimensional Arrays. Help needed urgently!

by Knowledge_Feeds_The_Mind
Replies
10
Views
11

### [SOLVED] Re: Help with Multi-dimensional Arrays. Help needed urgently!

Thank you very much for the fast response. :)
my output needs to look some thing like this. like this:

"Enter a 3-by-3 matrix row by row:
Row 1: 1 2 3
Row 2: 5 6 7
Row 3: 9 1 3

The sum...
6. ## Thread: Help with Multi-dimensional Arrays. Help needed urgently!

by Knowledge_Feeds_The_Mind
Replies
10
Views
11

### [SOLVED] Help with Multi-dimensional Arrays. Help needed urgently!

I am having trouble fixing and figuring out how to change my code. My out put is very off, and I was wondering if anyone could give me insight to why, maybe even pose a solution,

"Enter a 3-by-3...
7. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Re: Help needed with reversing numbers entered (in Java).

Thank you so much dicdic!:) I did not realize such a simplistic mistake. :eek:
Thank you for helping me understand how to understand the foreign language of...
8. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Re: Help needed with reversing numbers entered (in Java).

So I figured it all out, but there is a small hitch. The program prompts for 11 values, when it is supposed to prompt for only 10.......
How do I fix this?

This is how my code looks right...
9. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Re: Help needed with reversing numbers entered (in Java).

So then how would i write it correctly? Thank you so much!!!!!
10. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Re: Help needed with reversing numbers entered (in Java).

Drgy55, thanks so much B), this is so rad. Cannot believe that I did not notice this. I go by the name Vex, because it is shorter and easier :D

My answer finally reverses!! There is a 0 though,...
11. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Re: Help needed with reversing numbers entered (in Java).

It was my mistake for not specifying, I get the results (above) for every number I put in. It is as if those values are set in the array. I would like to know how to change it so, that when I input...
12. ## Thread: Help needed with reversing numbers entered (in Java).

by Knowledge_Feeds_The_Mind
Replies
11
Views
170

### Help needed with reversing numbers entered (in Java).

I am having issues with my output and cannot figure out what is causing it. I have been struggling for 2 days now.. Any help appreciated
Also if I can see how to calculate the minimum and the...
13. ## Thread: Write a class encapsulating the concept of a circle: Help Needed

by Knowledge_Feeds_The_Mind
Replies
9
Views
220

### Re: Write a class encapsulating the concept of a circle: Help Needed

I finalized my code, but I cannot run it, the program says that there is no main class?
"public static void main(int radius, int x, int y) {" I thought that this was my main class....
Do you know...
14. ## Thread: Write a class encapsulating the concept of a circle: Help Needed

by Knowledge_Feeds_The_Mind
Replies
9
Views
220

### Re: Write a class encapsulating the concept of a circle: Help Needed

So I sat down and reran the entire thing.
I thought I had it but nope, did not happen :confused:

public class NewCircle {

public static void main(int radius, int x, int y) {
...
15. ## Thread: Write a class encapsulating the concept of a circle: Help Needed

by Knowledge_Feeds_The_Mind
Replies
9
Views
220

### Re: Write a class encapsulating the concept of a circle: Help Needed

So I reworked the code and now I think I only have to find a way to integrate the second code into the first code

//First Code

import java.awt.Point;
16. ## Thread: Write a class encapsulating the concept of a circle: Help Needed

by Knowledge_Feeds_The_Mind
Replies
9
Views
220

### Re: Write a class encapsulating the concept of a circle: Help Needed

I do not think I need to know exactly, put pretty close to it.
Yes. "A toString method that prints out the location of the circle (the x, y coordinates of

...
17. ## Thread: Write a class encapsulating the concept of a circle: Help Needed

by Knowledge_Feeds_The_Mind
Replies
9
Views
220

### Write a class encapsulating the concept of a circle: Help Needed

Prompt: Write a class encapsulating the concept of a circle, assuming a circle has the following attributes: a Point representing the center of the circle, and the radius of the circle, and integer....
18. ## Thread: Simple Question: How do I input an exit code into my program?

by Knowledge_Feeds_The_Mind
Replies
2
Views
100

### [SOLVED] Re: Simple Question: How do I input an exit code into my program?

That solved it, thanks a bunch. :)
:D
19. ## Thread: Simple Question: How do I input an exit code into my program?

by Knowledge_Feeds_The_Mind
Replies
2
Views
100

### [SOLVED] Simple Question: How do I input an exit code into my program?

I just want to know how I can get my program to end when the user inputs "0." By using: System.exit(0);

import java.util.Scanner;

public class TestCode
{
public static void main...
20. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

o:-) Thank you for all your help, I ran the program multiple times and it is perfect. I cannot thank you enough for your guidance and helpful nature. I hope that you have a great rest of the day!:)...
21. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

It worked out, thanks :D :D
still having a problem with getting score 1:, score 2: etc, but everything else, perfect.:)
What did you mean with, "try to print score concatenated by variable i?"

...
22. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

Would you be able to show an example I am a little bit confused? Sorry about the inconvenience...
23. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

That worked out perfectly! I discovered two small glitches though. (Whenever I think I have finally solved this problem, a new problem appears...) This will be the last question I ask though, because...
24. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

I fixed the brackets, thank you for pointing that out.:)
Yes it does, and it actively tells me if the value is not accepted. The problem is that the program says it is not accepted, but the value...
25. ## Thread: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

by Knowledge_Feeds_The_Mind
Replies
20
Views
275

### [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

Thank you very much you have been extremely helpful!! I am really happy :) :) . The main problem that I have been trying to figure out has been solved and that makes me overjoyed. (I did remove the...
Results 1 to 25 of 30
Page 1 of 2 1