TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 20.03.07.
17194
post-template-default,single,single-post,postid-17194,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Markham Saturday 14:00 Java Homework 20.03.07.

12 Mar Markham Saturday 14:00 Java Homework 20.03.07.

Question:
Write a code that prints the multiplication table of a number. Use recursion, the code shouldn’t have any for loop or while loop

Sample Input:

3

Sample Output:

3X1=3
3X2=6
3X3=9
3X4=12
3X5=15
3X6=18
3X7=21
3X8=24
3X9=27
3X10=30
No Comments

Sorry, the comment form is closed at this time.