Computer Science, asked by Anonymous, 6 days ago

1.Write a Java program to generate the following Pattern
@ @ @ @ @
@ @ @ @ @
@ @ @ @ @

Answers

Answered by CopyThat
3

Program:  {JAVA}

public class Pattern1 {

   public void display() {

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

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

              System.out.print(“@  ");

}

          System.out.println();

      }

   }

Similar questions