please
5. Write a program to display a table of 5 less than 11 using DO WHILE ...Loop
Answers
Answered by
4
Answer:
I am writing the do while loop part only
System.out.println ("Table for 5");
int i=1,p=1;
do
{
p=p*5;
System.out.println (" 5 × "+i+" = "+p);
i++;
}while(i<11);
Hope it helps and if ut does please press the thank you button it will help me a lot.
Similar questions