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

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

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal