can anyone solve this pattern...immediately in java
Attachments:
Answers
Answered by
1
i know in c++, and can tell u the algorithm
for(i=7){
for(j=7 ;j<=i; j-=2)
cout(println)<<i;
}
i m not sure, since i dont have my laptop right now, but try it
if it doesn't work then try j<=1
for(i=7){
for(j=7 ;j<=i; j-=2)
cout(println)<<i;
}
i m not sure, since i dont have my laptop right now, but try it
if it doesn't work then try j<=1
Similar questions