Science, asked by girijachirmure29, 29 days ago

solve question please.​

Attachments:

Answers

Answered by manaskhare79
0

Answer:

public class KboatPattern

{

   public void displayPattern() {

       int a = 1;

       for (int i = 1; i <= 5; i++) {

           for (int j = 1; j <= i; j++) {

               System.out.print(a++ + "\t");

           }

           System.out.println();

       }

   }

}

Explanation:

Answered by av2478653
0

ok please wait ....okkkkkkkkkk

Similar questions