Javatpoint Logo

print table of 5 using for loop in format 5*1=5 till 5*10=50

By: kavish*** On: Thu Feb 15 05:13:41 IST 2018     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
print table of 5 using for loop in format
5*1=5
5*2=10
5*3=15
....
...
...
5*10=50
Up0Down
core java  x  328Tags

 

public class Table {

public static void main(String args[]){
//int j=5;
for(int i=1;i<=10;i++){
System.out.println(5+"*"+i+"="+5*i);
}
}
}
Image Created0Down

By: [email protected] On: Thu Feb 15 12:48:09 IST 2018 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No