Computer Science, asked by Saad489, 1 year ago

code for making triangle in java ?

Answers

Answered by sam659
1
for (int i=0; i<6; i++)
{ for (int j=0; j<i; j++)
{ System.out.print("*"); }
System.out.println(""); }

Saad489: thank you
sam659: welcome
Saad489: mp
sam659: what does mp mean???
Saad489: my pleasure!!
sam659: oh..
Answered by ayushi114
0
please tell the triangle whose code u want ?????
Similar questions