Write a program to print the following pattern using only one printing statement.
# # # # #
* * * *
# # #
* *
#
Answers
Answered by
0
Answer:
class pat
{
void main()
{
int i,j;
for(i=5;i<=1;i++)
{
for(j=i;j<=i;j--)
{
if(j%2==0)
}
sop(j);
sopln();
}}}
Similar questions