Computer Science, asked by Anonymous, 1 year ago

write a program to display the given pattern:
1234567
12345
123
1
bluej

Answers

Answered by helpingbuddy40
2
i can try.
public class pattern
psvm(String args[])throwsIOException
{
for(int a=7;a>=b;a=a-2)
for(int b=1;b<=a;b++)
System.out.println(b);
}
its done and correct also i guess.
output nikal ke check kr lena.
feel free to ask anything.

helpingbuddy40: its assignment method.What method are u comfortable with?
Answered by ShivamSaurabh1
2
this is the answer for your question..
Attachments:
Similar questions