Write a Java program to print
the series, (if n=4)
@ @ @ @
@ @ @
@ @
@
Answers
Answered by
23
❀ REFER THE ATTACHMENT ❀
Attachments:
![](https://hi-static.z-dn.net/files/d41/25349d1a580ac13ad97a2dac0961b7d3.jpg)
Answered by
1
Explanation:
class Pattern
{
public static void main(String args[])
{
for(int i=4;i>=1;i--)
{
for(int j=1;j<=i;j++)
{
System.out.print("@");
}
System.out.println();
}
}
}
Attachments:
![](https://hi-static.z-dn.net/files/dd1/e14dfd1f95846104a265026b9cba9196.jpg)
![](https://hi-static.z-dn.net/files/d0e/7a008ef511fd8e13a79ecc3b22d385c2.jpg)
Similar questions