Vous êtes sur la page 1sur 1

#include<stdio.

h>
#include<conio.h>
#include<howmanydigits.h>
int main()
{
int a,b,c,d;
printf("Enter the number plz: ");
scanf("%d",&a);
b=howmanydigits(a);
printf("The total number of digits entered is: %d\n",b);
printf("The reverse printing of the entered number is: ");
while(b)
{
c=a%10;
printf("%d",c);
a=a/10;
b=b-1;
}
getch();
return 0;
}

Vous aimerez peut-être aussi