Question: C++ Q1) Write a program that prompts the user to enter a four digit integer number n then calculates the product of its digits. Sample

C++
Q1) Write a program that prompts the user to enter a four digit integer number n then calculates the product of its digits. Sample output: Enter a four digit number to calculate product of digits: 1234 Product of digits = 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
