Skip to main content

Featured

HOW TO ACTIVATE WINDOWS / OFFICE LIFETIME

 THANKS TO MR.MASSGRAVEL FOR THIS ITS REALLY SIMPLE JUST FOLLOW THE INSTRUCTION IN GITHUB GITHUB -  https://github.com/massgravel/Microsoft-Activation-Scripts/

// // Printing the following Pattern 10 9 8 7 6 5 4 3 2 1


 // Printing the following Pattern  

   

10 9 8 7 

6 5 4

3 2

1


Source Code -

#include<stdio.h>
int main(){
    int n = 11;
    for (int i = 1; i <= 1; i++)
    {
        for (int j = 1; i <= 10; i++)
        {
            n = n - 1;
            if (n == 6 || n == 3 || n == 1)
            {
                printf("\n%d ",n);
            }
            else
                printf("%d ",n);
        }
   
}

    return 0;
}


// this is my logic you can make your own give it a try best of luck !!

Comments

Popular Posts