Search:

Type: Posts; User: shamed

Search: Search took 0.17 seconds.

  1. Replies
    7
    Views
    1,282

    Re: Help: Num to words

    I don't get it sir :( sorry..
  2. Replies
    7
    Views
    1,282

    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. Replies
    7
    Views
    1,282

    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. Replies
    7
    Views
    1,282

    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. Replies
    6
    Views
    2,606

    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. Replies
    4
    Views
    6,860

    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.

    Someone gave me this advice:


    But I do not know how to use...
  7. Replies
    4
    Views
    6,860

    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. Replies
    7
    Views
    931

    Re: Problem with condition

    This code works fine with me. Thank you Json. :)
  9. Replies
    7
    Views
    931

    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. Replies
    7
    Views
    931

    Problem with condition

    Hi, I'm having problem with this code.


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

    BufferedReader input = new...
  11. Replies
    4
    Views
    1,292

    Re: Problem in BufferedReader

    It's working now. Thank you sir Chris and sir Json.
  12. Replies
    4
    Views
    1,292

    Re: Problem in BufferedReader

    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...
  13. Replies
    4
    Views
    1,292

    Problem in BufferedReader

    This was given as a quiz to us by our instructor. She gave me perfect score for this, but when I actually run the program on my PC it says "cannot resolve symbol". What does it means? How could I fix...
Results 1 to 13 of 13