# Search:

Type: Posts; User: Junky

Page 1 of 20 1

1. ## Thread: Beginner Question--Sum of numbers program; Validation

by Junky
Replies
2
Views
260

### Re: Beginner Question--Sum of numbers program; Validation

I think you are misunderstanding the requirements. You need to validate user input before you can perform the sum. So you will need 2 loops, one for each task.
2. ## Thread: Write me a program that....

by Junky
Replies
6
Views
244

### Re: Write me a program that....

Once again, nobody is going to do it for you. If you 100% cannot do it then take the F you deserve. On the other hand if you make an attempt (even a very simple start) post your code here and ask...
3. ## Thread: java help?

by Junky
Replies
4
Views
127

### Re: java help?

Sure! Doing your homework for you is no problems. Oh wait, it's called CHEATING!

by Junky
Replies
3
Views
150

NO!!
5. ## Thread: Hangman multiple letters

by Junky
Replies
15
Views
189

### Re: Hangman multiple letters

Even with the pseudocode I provided above? All you have to do is convert it to actual code using calls to methods in the String class.
6. ## Thread: Hangman multiple letters

by Junky
Replies
15
Views
189

### Re: Hangman multiple letters

loop each char in secretWord {
if char at index equals guess {
change dash to guess in updatedWord
}
}
7. ## Thread: Hangman multiple letters

by Junky
Replies
15
Views
189

### Re: Hangman multiple letters

Use a single loop to iterate over each char in secretWord. If the char matches the guess letter then change the dash in the updatedWord to the guess letter at the same index.

Or you could use...
8. ## Thread: If statement issue

by Junky
Replies
3
Views
112

### [SOLVED] Re: If statement issue

Giving a method and a variable the same name can only lead to confusion.
9. ## Thread: Equation

by Junky
Replies
2
Views
146

### Re: Equation

Sure, here you go:

class EquationSolver {
public static void main(String[] args) {
System.out.println("Do your own homework!");
}
}
10. ## Thread: Exercise 86

by Junky
Replies
11
Views
447

### Re: Exercise 86

Why do you have a method inside another method?
Why do you have a parameter without a type?
Why do you have a method with 2 parameters (String, double)?
Instructions state there should only be two...
11. ## Thread: NEED HELP! ROOKIE JAVA USER

by Junky
Replies
4
Views
228

### Re: NEED HELP! ROOKIE JAVA USER

How are we supposed to help? The more details you provide and the more specific question you ask (yes you need to ask a question) the better response you will get.

Also posting code inside code...
12. ## Thread: iban validation

by Junky
Replies
2
Views
351

### Re: iban validation

Split the String into 2 substrings. Concatenate them back together.
13. ## Thread: Getting the width and height of a frame without borders

by Junky
Replies
3
Views
243

### Re: Getting the width and height of a frame without borders

Where/when you declare and initialise your variables probably means that they are given values before the frame is constructed. Try giving them values after everything has been set up.
14. ## Thread: NEED HELP! ROOKIE JAVA USER

by Junky
Replies
4
Views
228

### Re: NEED HELP! ROOKIE JAVA USER

Sure!

class Cheater {
public static void main(String[] args) {
System.out.println("Do your own work!");
}
}
15. ## Thread: Whats wrong in my code?

by Junky
Replies
8
Views
211

### Re: Whats wrong in my code?

I don't speak whatever language that is. Perhaps you mean thankyou!
16. ## Thread: Getting "cannot find symbol" errors when trying to pass variables between methods!

by Junky
Replies
9
Views
352

### Re: Getting "cannot find symbol" errors when trying to pass variables between methods!

All those errors relate to the class MyCode and yet you have posted code for NewCode. Please post correct information.
17. ## Thread: Nested Iterators

by Junky
Replies
2
Views
145

### Re: Nested Iterators

If you have a List of Lists I guess it is possible.
18. ## Thread: Setting up a loop for a SHA-256 hash for multiple outputs

by Junky
Replies
32
Views
331

### Re: Setting up a loop for a SHA-256 hash for multiple outputs

Do you have a question?
19. ## Thread: Whats wrong in my code?

by Junky
Replies
8
Views
211

### Re: Whats wrong in my code?

Do you have a question?
20. ## Thread: Setting up a loop for a SHA-256 hash for multiple outputs

by Junky
Replies
32
Views
331

### Re: Setting up a loop for a SHA-256 hash for multiple outputs

Look closer.

for (int b = Integer.parseInt(a); b <= 17; b++); {

Above loop is wrong, Below loop is correct. Compare them.

for (int i=0;i<byteData.length;i++) {
21. ## Thread: Setting up a loop for a SHA-256 hash for multiple outputs

by Junky
Replies
32
Views
331

### Re: Setting up a loop for a SHA-256 hash for multiple outputs

Have you spotted the mistake yet?
22. ## Thread: Setting up a loop for a SHA-256 hash for multiple outputs

by Junky
Replies
32
Views
331

### Re: Setting up a loop for a SHA-256 hash for multiple outputs

for (int b = Integer.parseInt(a); b <= 17; b++); {

Examine your loops very very carefully and see if you can spot what the problem is.
23. ## Thread: Could someone explain this to me?

by Junky
Replies
8
Views
186

### Re: Could someone explain this to me?

Nope.

What subfolders?
What are you trying to read?
Where are you trying to read?
What are you using to read?
24. ## Thread: Could someone explain this to me?

by Junky
Replies
8
Views
186

### Re: Could someone explain this to me?

I didn't say you were whining but many people do. I just wanted to stop that before it starts.

If you want better help then you need to ask a specific question. "I don't know what to do" is very...
25. ## Thread: Cinema Seating arrangment

by Junky
Replies
8
Views
408

### Re: Cinema Seating arrangment

Yes a better solution would be to use a 2D array and allow patrons to choose which seats instead on allocating them linearly.
Results 1 to 25 of 500
Page 1 of 20 1