Computer Science, asked by kriti160, 1 year ago

NUL
3. Write a program to display a table of 5 less than 11 using DO-WHILE loop.​


Anonymous: hii

Answers

Answered by Qwdubai
0

Program to display a table of 5 less than 11 using DO-WHILE loop.​

The below program is in Java language:

class table {

   public static void main(String[] args) {

       int n=1;

       do{

           System.out.println("5 * " + n + " = " + 5*n);

           n++;

       } while(n<11);

   }

}

In the above program, n is the number of times the table of 5 will be printed.

#SPJ1

Answered by subeenasajad80
0

Answer:

it can be find in Google because all answers in brainly are in Java language

Similar questions
Math, 1 year ago