C++ trouble, problema | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++ trouble, problema

ES: Tengo un problema, necesito multiplicar los dígitos de un número entre si, por ejemplo: si me das 123 = necesito hacer 1x2x3. OK pues eso quiero hacerlo en c++ Alguna idea simple? EN: I have a problem, I need to multiply the digits of a number by each other, for example: if you give me 123 = I need to do 1x2x3. OK I want to do that in c ++ Any simply ideas?

3rd Feb 2021, 9:21 PM
LenadESP
LenadESP - avatar
4 Answers
0
Thank you very Mach! I will adapt it to the code what I have bat thank you!
3rd Feb 2021, 9:32 PM
LenadESP
LenadESP - avatar
0
When I finish, I will public ate, be alert!
3rd Feb 2021, 9:32 PM
LenadESP
LenadESP - avatar
0
Use array and a for loop. Works perfectly
3rd Feb 2021, 9:36 PM
Maher Al Dayekh
Maher Al Dayekh - avatar