You are viewing a single comment's thread. Return to all comments →
in your " System.out.printf("%"+(n+1)+"s",str+"\n");" i am getting confuse.,str+"\n"-it will give # but "%"+(n+1)+"s" ?..
Seems like cookies are disabled on this browser, please enable them to open this website
Staircase
You are viewing a single comment's thread. Return to all comments →
in your " System.out.printf("%"+(n+1)+"s",str+"\n");" i am getting confuse.,str+"\n"-it will give # but "%"+(n+1)+"s" ?..