Repeatedsubtract among 2 numbers | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Repeatedsubtract among 2 numbers

A, b

22nd Jul 2023, 5:10 PM
C Charitha
3 ответов
+ 6
C Charitha , > please post a link to your code here. > also also give a clear task description. > what are the input values? >what is the expected output?
22nd Jul 2023, 5:59 PM
Lothar
Lothar - avatar
+ 1
C Charitha repeated subtraction can be programmed by using any of several techniques. You can use inline repeated lines of code, a loop, autodecrements, recursion; and mathematical equivalent shortcuts that include division, binary shifting, the modulo operator, recursion, or the div() math library function. You will have to get more specific about the issue at hand. And show whatever code you have attempted if you want a better answer.
22nd Jul 2023, 8:48 PM
Brian
Brian - avatar