User Profile

Collapse

Profile Sidebar

Collapse
Transformers
Transformers
Last Activity: Feb 17 '08, 04:24 AM
Joined: Feb 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Transformers
    replied to Need help in Nested Loops...
    in Java
    I'm very new in Programming.
    This is what I've done but the output is only 111111....1.
    I try to insert char current = '1', '2', '3', '4', '5', '6' but it wouldn't work also.
    I know my understanding in Programming is really terrible. Please help.
    Thanks.



    public class Alphabet
    {
    public static void main(String[] args)
    {
    char current = '1';
    for(int...
    See more | Go to post

    Leave a comment:


  • Transformers
    started a topic Need help in Nested Loops...
    in Java

    Need help in Nested Loops...

    Please help if you can.

    Print the following patterns using nested loops. Output should be in separate programs.

    Pattern 1

    1
    12
    123
    1234
    12345
    123456

    Pattern 2

    123456
    12345
    1234
    123
    12
    1

    Pattern 3

    1
    21
    321
    4321
    54321...
    See more | Go to post
No activity results to display
Show More
Working...