Using c language super logic---->
\n\n# Super Logic Through C\n\nint subtractProductAndSum(int n){\nint rem,prod=1,sum=0;\n       while(n!=0)\n       {\n        rem=n%10;\n        prod=prod*rem;
\n\n# Super Logic Through C\n```\nint subtractProductAndSum(int n){\nint rem,prod=1,sum=0;\n       while(n!=0)\n       {\n        rem=n%10;\n        prod=prod*rem;\n        sum=sum+rem;\n        n=n/10;\n       }\n    return prod-sum;\n}\n\n```
['C']