- 1
can anyone help me to write a program on java for this ***** * * * * * * ***** *123* *456* *789* *****
please help me
2 ответов
+ 2
// As simple as it gets.//
public class INeedHelp
{
public static void main(String [] args)
{
System.out.println("*****\n* *\n* *\n* *\n*****");
System.out.println("*123*\n*456*\n*789*\n*****");
}
}
Hope this helps