Answer to Question #56501 in Java | JSP | JSF for Ankit Singh
What is the significance of System.out.println(" "), while making a right angle triangle with star??
*
**
***
1
2016-01-19T08:28:40-0500
for (int i = 1; i <= 3; i++) {
for (int j = 1; j <= i; j++) {
System.out.print("*");
}
System.out.println();
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment