ASCII Text Signature. Stage 1/4

Primitive Art

Report a typo

Description

An ASCII generator is an awesome program that can output any document, picture, or text file in 2-D using only text symbols. It is often used to print name tag badges for various conferences and meetings. In this project, you will write an ASCII generator that can print name tags.

Let's start with generating the simplest name tag with just a first name and a last name on it. Your task is to generate a tag for someone with the first name "Hyper" and the last name "Skill". You also need to create a frame around the text as shown in the example.

Objectives

Print the string “Hyper Skill” in a frame.

Your program should output the string “Hyper Skill” in a frame. Left and right borders are marked with the symbol '|', the top border is marked with '_', and the bottom border with '•'.

Example

 _____________
| Hyper Skill |
 •••••••••••••
Write a program
package signature

fun main() {
println("Hello, World!")
}

Create a free account to access the full topic