Reverse table in c programming.

 

#include<stdio.h>
#include<conio.h>
int main()
{
int p,i;
printf("enter the integer number with multiplication table");
scanf("%d",&p);
for(i=10;i>=1;i--)
{
  printf("%d*%d=%d",p,i,p*i);
}
  return 0;
}
   Output:enter the integer number with multiplication table 9

9*10=90

9*9=81

9*8=72

9*7=63

9*6=54

9*5=45

9*4=36

9*3=27

9*2=18

9*1=9


Comments

Popular posts from this blog

To check the age and given the marks are not in c programming

Even or odd in c programming.

Simple interests in c programming