Answer to Question #991 in Java | JSP | JSF for Da
use a pair of nested while loops to output this:
$$$
$$$
$$$
$$$
$$$
1
2010-11-13T03:33:25-0500
public class NestedLoopSampleCode
{
public static void main(String[] args)
{
for(int i = 1; i < =5; i++) { for(int j = 1; j < =3; 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