confuse =[

Discussion in 'C++' started by JetQi Tan, Jul 5, 2011.

  1. JetQi Tan

    JetQi Tan Guest

    confuse about this quetion =.="
     
    JetQi Tan, Jul 5, 2011
    #1
    1. Advertising

  2. Re: confuse =[

    On Jul 5, 1:55 pm, JetQi Tan <> wrote:
    > confuse about this quetion =.="


    I'm confused about your confusion. Confusion about what =[ or =.=?
    Please explain your problem in more details. Please send your code.

    -- Saeed Amrollahi
     
    Saeed Amrollahi, Jul 5, 2011
    #2
    1. Advertising

  3. JetQi Tan

    JetQi Tan Guest

    Re: confuse =[

    #include<stdio.h>
    #include<conio.h>


    main()
    {
    int row, column;
    //print the first 3 rows
    for (row = 1; row <= 3; row++){
    for(column = 1; column <= row; column++)
    {
    printf("*");
    }
    printf("\n");
    }
    //print the second last rows
    for (row = 1; row <= 2; row++){
    for(column = 2; column >= row; column--)
    {
    printf("*");
    }
    printf("\n");
    }
    getch();
     
    JetQi Tan, Jul 7, 2011
    #3
    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. Bruce .J Sam
    Replies:
    2
    Views:
    585
    Bruce .J Sam
    Apr 3, 2005
  2. iceColdFire
    Replies:
    3
    Views:
    4,416
    Ioannis Vranos
    May 24, 2005
  3. A little confuse

    , Nov 19, 2006, in forum: Python
    Replies:
    0
    Views:
    315
  4. Replies:
    3
    Views:
    344
    Serge Paccalin
    Jul 3, 2005
  5. key9
    Replies:
    7
    Views:
    340
    Ben Pope
    Feb 28, 2006
Loading...

Share This Page