What statement is used to draw a figure
Answers
Answered by
0
you can draw a figure using loops the example of a figure is given below:-
//*
//**
//***
//****
for(int i=1;i<=4;i++){
for(int j=0;j<=i;j++){
System.out.print("*");
}
System.out.print();}
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Social Sciences,
6 months ago
Hindi,
1 year ago
Hindi,
1 year ago
Geography,
1 year ago