Praveen | Typing Speed Test is a very useful Software available for free Download.

C Programs to Multiply Digits

      C programs to Multiply digits are given below. In this program to Multiply digits also given by the users. It is the Miner difference in the Add and Multiply digits given by the user.


Multiply digits to C programming code

#include<stdio.h>
#include<conio.h>


void main()
{
   int n, sum = 0, r;
   clrscr();
   printf("\n Enter the value ");
   scanf("%d",&n);
   while( n != 0 )
   {
      r = n % 10;
      sum = sum*r;
      n = n / 10;
   }
   printf("\n Multiply of digits is -> %d",sum);
   getch();
}


Output:-