Computer Science, asked by reenagupta05656, 1 month ago

for(a=5;a>=1;a--)
{
for (b=1;b<=a;b++)
{
System.out.print(b);
{
System.out.println();
}
print the output in java

Answers

Answered by bryanchristy2016
0

Answer:

The output will be

1

Explanation:

It is because of condition used in primary for loop where a>=1

Similar questions