How to print the any multiplication table without using loop. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to print the any multiplication table without using loop.

12th Apr 2020, 7:33 PM
Ankit Bisht
Ankit Bisht - avatar
2 Réponses
+ 1
You can use recursion or print it instead but there is no reason to do any of that in this case
12th Apr 2020, 7:38 PM
xaralampis_
xaralampis_ - avatar
0
as xaralampis_ mentioned...and use a static int variable that you increment and use in the multiplication expression in a printf statement inside your recursive function..
12th Apr 2020, 9:02 PM
rodwynnejones
rodwynnejones - avatar