Games Get link Facebook X Pinterest Email Other Apps - June 15, 2020 Get link Facebook X Pinterest Email Other Apps
Program to find the product of digits of 3 digits number in C-language Get link Facebook X Pinterest Email Other Apps - April 11, 2020 #include<stdio.h> int main() { int a,b,c,x,s; printf("Enter three digit numbers\n"); scanf("%d",&x); a=x%10; x=x/10; b=x%10; x=x/10; c=x%10; x=x/10; s=a*b*c; printf("Product of digit=%d",s); } OUTPUT Enter three digit numbers 234 Product of digit=24 Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment