Answer to Question #991 in Java | JSP | JSF for Da

Question #991
use a pair of nested while loops to output this:
$$$
$$$
$$$
$$$
$$$
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS