0

How to write a program to print a table of 5 using for loop?

29th Apr 2017, 9:15 AM
Kishan Mittal
3 Answers
+ 1
for(int i =1;i<=10;i++){ int res = i*5; System.out.print( i +" x 5 = "+res); }
29th Apr 2017, 9:26 AM
Daniel Raouf
Daniel Raouf - avatar
0
Thanks
29th Apr 2017, 9:45 AM
Kishan Mittal