Pattern Printing 15

You may also like...

5 Responses

  1. Kharthik says:

    I tried the below code snippet in C for the 4 series

    int maximum(int a,int b);
    void main()
    {
    int n=4,i,j,absi,absj,value;
    clrscr();
    for(i=0;i<7;i++)
    {
    for(j=0;jmaxi)
    {
    maxi=b;
    }
    else
    {
    maxi=a;
    }
    return maxi;
    }

  2. Kharthik says:

    No.. Its not a doubt. I meant to say i tried the below code in C and it worked to print N=4 series..

    #include
    #include
    #include
    #include
    int maximum(int a,int b);
    void main()
    {
    clrscr();
    int n=4,i,j,absi,absj,value;
    for(i=0;i<2*n-1;i++)
    {
    for(j=0;jmaxi)
    {
    maxi=b;
    }
    else
    {
    maxi=a;
    }
    return maxi;
    }

  1. October 2, 2014

    […] Next Post: Pattern Printing 17 Category: Printing Pattern Previous Post: Pattern Printing 15 […]

  2. October 2, 2014

    […] Post: Pattern Printing 15 Category: Printing Pattern Previous Post: Pattern Printing […]

Leave a Reply

Your email address will not be published. Required fields are marked *