i got my answer thank you for viewing my post
thank you all
User Profile
Collapse
Profile Sidebar
Collapse
don bosco
Last Activity: May 3 '14, 04:48 PM
Joined: Apr 30 '14
Location:
-
yes i am using loops but if you and run this program in java(blue j) then it does not give the desired effect rabbit. i have tried it but it only print either the stars or the underscores plzz make this correct to print the pattern aboveLeave a comment:
-
yes but i have to print the under scores in oppsite directions tooLeave a comment:
-
i want you to help me make it correct by using loops only and thank u for viewing my post plzz help me do itLeave a comment:
-
Matrix problem using loops
pattern--
*-----
**----
***---
****--
*****-
i tried here is what i have done please help me make it correct
...Code:class pattern { public void display() {int i,j; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { System.out.print("*");Last edited by Rabbit; Apr 30 '14, 03:40 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: