NUL3. Write a program to display a table of 5 less than 11 using DO-WHILE loop.
Answers
Answered by
1
Explanation:
Class Nul3
{
public static void main (String args [ ])
{
Int a = 1, num = 5 ;
System.out.println(" table of 5");
do
{
System.out.println( num + "☓" + a + "=" + num ☓ a) ;
a++;
}
while(a<=10);
}
}
Answered by
0
Explanation:
write a program to display a table of 5 less than 11 using do while loop
Similar questions