import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
int i = 1 ;int j = 1;
char c ='$';
while (i <= 10)
{
{ System.out.println(c);
}
while (j <= i )
{
System.out.print(c);
}
}
}
}
package com.codegym.task.task04.task0433;
/*
Seeing dollars in your future
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
int i = 1 ;int j = 1;
char c ='$';
while (i <= 10)
{
{ System.out.println(c);
}
while (j <= i )
{
System.out.print(c);
}
}
}
}