please help me..how to make a star using the (*)!!
import java.io.*;
public class Prelim{
public static InputStreamReader reader=new InputStreamReader (System.in);
public static BufferedReader input=new BufferedReader (reader);
public static void main (String[]args) throws Exception{
double a, b,
System.out.println("Enter number:");
a = Double.parseDouble(input.readLine());
a=1;
{
for(a=1; a<7; a++)
{
System.out.println("*");
}
}
}
}