1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

hello c geniuses & experts ,can u plz ans this?

Discussion in 'Meet and Greet' started by mouse jerry, Dec 18, 2011.

  1. mouse jerry

    mouse jerry New Member

    Joined:
    Dec 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    kolkata,India
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
  3. mouse jerry

    mouse jerry New Member

    Joined:
    Dec 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    kolkata,India
    wheres d ans?
     
  4. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    Where was the question either?
     
  5. mouse jerry

    mouse jerry New Member

    Joined:
    Dec 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    kolkata,India
    . 1
    . 2 3
    4 5 6
     
  6. zachry00

    zachry00 New Member

    Joined:
    Jul 20, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    :smoking: is that the output??
     
  7. sakkeerhussain

    sakkeerhussain New Member

    Joined:
    Apr 20, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    b tech student
    Location:
    areacode,calicut
    Code:
    #include<stdio.h>
    main()
    {
          int j,i,num=1,end_limit;
          printf("How many lines have to print  :");
          scanf("%d",&end_limit);
          for(i=0;i<end_limit;i++)
          {
                                  for(j=0;j<=i;j++)
                                                   printf("%d\t",num++);
                                  printf("\n");
          }
          getch();
    }
     

Share This Page