# Search:

Type: Posts; User: shamed

1. ## Thread: Help: Num to words

by shamed
Replies
7
Views
1,203

### Re: Help: Num to words

I don't get it sir :( sorry..
2. ## Thread: Help: Num to words

by shamed
Replies
7
Views
1,203

### Re: Help: Num to words

Hi, thank you very much for your help! It did run.

But I was not able to see that the problem was "the output must also accept negative numbers"

This goes for example -4522 turns "Negative Four...
3. ## Thread: Help: Num to words

by shamed
Replies
7
Views
1,203

### Re: Help: Num to words

Hi, thank you for your reply, I picked an idea. But do you think the code I added is the best solution for the "two digit input"?..

try {
System.out.println("Enter a number from...
4. ## Thread: Help: Num to words

by shamed
Replies
7
Views
1,203

### Help: Num to words

What shall I do to this program? It does not output correct.

When I input "6412" it will just output "Six Thousand Four Hundred Two"
When I input "17" It will only output "Ten Seven"
When I...
5. ## Thread: Question: Converting number to words.

by shamed
Replies
6
Views
2,477

### Question: Converting number to words.

Hi, how can I convert numbers into words without using arrays? or is it possible not to use arrays?
6. ## Thread: Question: Converting cents to dollars.

by shamed
Replies
4
Views
6,488

### Re: Question: Converting cents to dollars.

@ ALL:

Hi thank you for your reply. Sorry I did not specify that I cannot use advanced coding. I need simple codes for this.

But I do not know how to use...
7. ## Thread: Question: Converting cents to dollars.

by shamed
Replies
4
Views
6,488

### Question: Converting cents to dollars.

Hi, this is the output of the program I made:

Enter amount in nickels: 2
Enter amount in pennies: 100

You entered 2 nickels and 100 pennies.

The total amount in penny is 110.0
8. ## Thread: Problem with condition

by shamed
Replies
7
Views
845

### Re: Problem with condition

This code works fine with me. Thank you Json. :)
9. ## Thread: Problem with condition

by shamed
Replies
7
Views
845

### Re: Problem with condition

Thanks for answering, and thanks for the instruction. Now the problem is, it does not output the "negative" even if I input -1 or any negative number. It always displays "positive".
10. ## Thread: Problem with condition

by shamed
Replies
7
Views
845

### Problem with condition

Hi, I'm having problem with this code.

import java.io.*;
public class ConditionalStatement {
public static void main(String[]args) {

by shamed
Replies
4
Views
1,202

It's working now. Thank you sir Chris and sir Json.

by shamed
Replies
4
Views
1,202

Thank you for the reply, sir Chris. I've already renamed my class. Now the last two lines encountered the same error. I'm sorry, I really don't know about this. I just followed the instructions of my...