Jump to content

C30N9

Members
  • Posts

    1331
  • Joined

  • Last visited

5 Followers

About C30N9

  • Rank
    Senior Member
    Senior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Single Status Update

See all updates by C30N9

  1. So I want the output to be this:

    ____5 (four spaces)
    ___45 (three spaces)
    __345 (and so on...)
    _2345
    12345

    Using without more than 2 loops. Doesn't matter any language, but C or Java works.

    1. Show previous comments  2 more
    2. Ribbiks

      Ribbiks

      here's a python one-liner for ya:

      code:
      Array
      yay.

    3. Memfis

      Memfis

      lol being able to multiply strings like that is pretty neat

    4. andrewj

      andrewj

      C version using printf formatting:

      code:
      Array

      and C version using a char array:
      code:
      Array

×
×
  • Create New...