java program to find sum and product of all digits of a number using class
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
In this program we will read a positive integer number and then calculate product of all digits using a class. For example, if input number is 12345 - sum of all digits, product of all digits will be 15 , 120.
Output