(17 XP) A function that prints strings into a console in a frame.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
FramePrinter.cs
. - Implement the method
Print(string[] strings)
that prints strings into a console each to separate line in a frame. - Run with
CTRL+F5
to test it. - If all tests are passed, commit & sync your repository.
- Send a link to your repository for Lab Master (in #slack) to check it.
FramePrinter printer = new FramePrinter();
string[] strings = new string[]{ "Hello", "World", "in", "a", "frame" };
printer.Print(strings);
/* This code should print this:
*********
* Hello *
* World *
* in *
* a *
* frame *
*********
- Don't forget to print a space between words and borders.