+ 1

Could someone help me please to make a program in C++ ?

Make a program that shows all numbers from 2 digits that divides with the sum,and product of its digits.

26th Nov 2017, 2:43 PM
Vladislav Tampei
Vladislav Tampei - avatar
3 Answers
+ 3
Create functions to determine sum & product of digits in a number. create a for loop from 10 to 99 & if your condition is true, cout the number. By the way, I didn't understand what you meant by 'divides with the ... '
26th Nov 2017, 3:45 PM
DAB
DAB - avatar
+ 1
sorry if I made a mistake,i mean that the program needs to show me the numbers that divide by sum and product of its own digits
26th Nov 2017, 3:54 PM
Vladislav Tampei
Vladislav Tampei - avatar
+ 1
thanks for help
26th Nov 2017, 3:54 PM
Vladislav Tampei
Vladislav Tampei - avatar