The frame method, which has two parameters, the frame length and height. The main program lines i used
String s = Frame (5, 4);
Console.WriteLine (s);
which prints following:
*****
* *
* *
*****
this is very easy without method, but with method this seems to be difficult, any ideas?
This is my last question for today. 🙂
1 Answer