write a program to display the given pattern:
1234567
12345
123
1
bluej
Answers
Answered by
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.
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
2
this is the answer for your question..
Attachments:
![](https://hi-static.z-dn.net/files/dc6/c56ccf6e60b4567fa9b0b8db523cb656.jpg)
Similar questions
Political Science,
8 months ago
Math,
8 months ago
Math,
1 year ago
English,
1 year ago
Science,
1 year ago