Java Programming on DrJava

Discussion in 'Java' started by Topiloe, Sep 25, 2012.

  1. Topiloe

    Topiloe

    Joined:
    Sep 25, 2012
    Messages:
    2
    Location:
    Montreal
    Write a program in Java that takes as input a positive integer n from the command-line,
    and outputs all the powers of 3 that are less than or equal to n. State the limitations, if
    any, of your program.
    Topiloe, Sep 25, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. karthik
    Replies:
    5
    Views:
    10,972
    Dale King
    Jul 25, 2003
  2. Paul Perrone
    Replies:
    0
    Views:
    14,395
    Paul Perrone
    Aug 21, 2003
  3. Matt
    Replies:
    35
    Views:
    10,555
    George Neuner
    Jul 22, 2004
  4. Casey Hawthorne
    Replies:
    4
    Views:
    983
    Jarek Zgoda
    Aug 4, 2006
  5. Joe Mayo
    Replies:
    168
    Views:
    3,238
    David Thompson
    Oct 22, 2007
Loading...

Share This Page