Question:- Print the table of any given number.
Psudo:-
- Take Input let's say a
- Run a Loop say i from 1 to 10
- print( i * a)
The only problem in your solution is that you have just terminated the FOR loop after initialized.
look here:- for (i = 1; i <= 10; ++i) ;
This is your Typing mistake.
Hence your answer is printing only one time .