Search:

Type: Posts; User: Ryoshiro

Search: Search took 0.13 seconds.

  1. Replies
    13
    Views
    475

    Re: Help with class assignment !

    that statement is like the process that convert binary to octal
    ex: 111 = 1 * 2^2 + 1 * 2^1 + 1*2^0
  2. Replies
    13
    Views
    475

    Re: Help with class assignment !

    lol sorry tho. It's so small.

    if (conversionType.equalsIgnoreCase("octal")) {
    for (j = 0; j < binaryNum.length(); j += 3) {
    groupNum = binaryNum.substring(j,...
  3. Replies
    13
    Views
    475

    Re: Help with class assignment !

    1446
    here is after i fix it a little bit.
  4. Replies
    13
    Views
    475

    Re: Help with class assignment !

    Oh it won't compile. It showed a message of error and terminate.
  5. Replies
    13
    Views
    475

    Re: Help with class assignment !

    Let's say I have a string of number: 111101
    I have to write a code that take first 3 numbers (which is 111) and convert it into octal. Then do the same thing for the next 3 (which is 101).
    At the...
  6. Replies
    13
    Views
    475

    Re: Help with class assignment !

    I'm sorry because i'm not got at writing.
    The problem is that I get stuck where I left right there.
    I want to take group 3 numbers and converts into numerical number (from binary to octal). But...
  7. Replies
    13
    Views
    475

    Help with class assignment !

    I'm writing a program that is used to convert binary input to octal and hexadecimal numbers. It is very basic program so I can only use loops, charAt, substrings, length.
    Your program logic may...
Results 1 to 7 of 7