C wacp any table

 // Enter ant value get any table__________________________


#include<stdio.h>

int main()

{

    int n;

    printf("Enter any value get table any table:");

    scanf("%d",&n);

    


    int i=1;

    while( i<=10)

    

    {

        printf("%d\n",i*n);

        i++;

    }

    

    return 0;


}


//Reverse table code__________________-

// Revars table check __________________________


#include<stdio.h>

int main()

{

   int n;

   

   printf("Enter factorial num:");

   

   scanf("%d",&n);

    

   int fac=n;

   

    for(int i=10; i>=1; i--)

   {

     

     


     printf("%d\n",fac*i);

   }

   

    

    

    

    

    return 0;


}

Comments

Popular posts from this blog

HERE IS ALL THE C CODE I CREATED

C sum all values output valus using for loop