Write a java program to print the series:
2 4 6 8
3 6 9
4 8
5
Answers
Answered by
0
Answer:
public class Series
{
public static void main(String args[ ])
{
for(a=2;a<=5;a++)
{
for(b=1;b<=4;b++)
{
while(a*b<10)
{
System.out.print(a*b+ " ");
}
System.out.println();
}
}
}
}
Similar questions
Social Sciences,
16 days ago
Biology,
16 days ago
Psychology,
16 days ago
Math,
1 month ago
Chemistry,
1 month ago
English,
7 months ago
Math,
7 months ago
English,
7 months ago