+ 1

How can write program to calculate multiplication table for any number start from 1 and end for the number enter by user

by using loop

28th Mar 2017, 5:43 PM
Bts...
Bts... - avatar
3 Respuestas
+ 4
Just some hints, try yourself. you should use a for loop. start from 1, end at user number. print each line once by entering in loop
28th Mar 2017, 5:47 PM
Meharban Singh
Meharban Singh - avatar
+ 3
here you go consider input is in - x for(int i =1;i<=10;i++){ System.out.println(x*i);} Sorry for java, i dont know c++
28th Mar 2017, 6:01 PM
Meharban Singh
Meharban Singh - avatar
+ 1
yes I do but my problem in multiplication table for 1.2.3.4
28th Mar 2017, 5:49 PM
Bts...
Bts... - avatar