Results 1 to 2 of 2
  1. #1
    Frenchi33 is offline Member
    Join Date
    Sep 2016
    Posts
    1
    Rep Power
    0

    Default I'm super confused on my homework.

    (Tabular Output) Write a Java application that uses looping to print the following table of values:

    N | N^2 | N^3 | N^4
    1 | 1 | 1 | 1
    2 | 4 | 8 | 16
    3 | 9 | 27 | 81
    4 | 16 | 64 | 256
    5 | 25 | 125 | 625

    It's supposed to be an if statement/while loop. I tried to separate the columns/rows with a line, but it doesn't look accurate. I really just need the code, because it's due tomorrow. I really will learn by seeing the answer. Thank you.
    Last edited by Frenchi33; 09-22-2016 at 11:45 AM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    27

    Default Re: I'm super confused on my homework.

    Moved to the proper Java bit of the forum.
    You won't get many answers in the Advertising subforum.

    Having said that, you also do need to show us what you've tried and what your problem is.
    We are not a code mill.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. I am a super noob with a super noob question.
    By LittleZoppo in forum Java Applets
    Replies: 3
    Last Post: 04-27-2012, 03:50 AM
  2. super
    By diamonddragon in forum New To Java
    Replies: 3
    Last Post: 01-29-2012, 10:49 PM
  3. calling variable using super super..
    By Stephen Douglas in forum New To Java
    Replies: 7
    Last Post: 08-16-2010, 06:12 AM
  4. this() and super() ?
    By bob in forum New To Java
    Replies: 4
    Last Post: 08-13-2009, 04:56 PM
  5. super
    By dj kourampies in forum New To Java
    Replies: 5
    Last Post: 01-23-2009, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •