Search:

Type: Posts; User: Java_boy

Search: Search took 0.29 seconds.

  1. Replies
    8
    Views
    964

    Re: recursion code

    Thank you very much, I noticed it is very simple after this as I learned how to pass an argument through net beans properties bar!
  2. Replies
    8
    Views
    964

    recursion code

    As I am very new to Java Programming, I'd like to make sure that this code is right!
    I was trying to make a program that computes the factorial of an input integer (args[0]) using a recursive method...
  3. Replies
    4
    Views
    1,384

    Re: Binary to Decimal Conversion

    Well I gave it a go and when it is compiled the message given is "BUILD SUCCESSFUL (total time: 0 seconds)"
    The two errors are: (I have written in the syntax)

    public class BinarytoDecimal {...
  4. Replies
    4
    Views
    1,384

    Binary to Decimal Conversion

    Hey everyone, as I am totally new to Java programming, I am currently trying to convert a Binary number to Decimal. The task was to :

    Use a loop to read (charAt()) each digit (0/1 char) in the...
Results 1 to 4 of 4