Write a program in java to display 2 table like 2*1=2,2*2=4 using for loop
Answers
Answered by
0
Answer:
kjbjkkbbkknxx. ibbbjk
Answered by
1
Answer:
public class Multiplication_Table {
public static void main(String[] args) {
int num = 2;
for(int i = 1; i <= 10; ++i)
{
System.out.printf("%d * %d = %d \n", num, i, num * i);
}
}
}
Explanation:
Similar questions