← All problemsSign in

Multiplicacion_por_sumas_sucesivas

Se puede multiplicar dos números a y b, sumando el menor de ellos tantas veces el mayor. Por ejemplo: 7 x 5 = 7 + 7 + 7 + 7 + 7 = 35. Realice un programa que para un par de números enteros positivos determine y exprese (Como se muestra en el ejemplo) su resultado a través de sumas sucesivas. ### Input Primera línea 'a' y 'b' separados por espacio ### Output Imprimir el resultado en el formato:

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start