Name Card

Report a typo

Write a program that reads the first name and the last name of a person, each on a separate line. Then, print the first letter of the first name with a dot and then the last name (with a single space in between): for example, Arthur Dent would be A. Dent.

Sample Input 1:

Jane
Doe

Sample Output 1:

J. Doe
Write a program in Kotlin
fun main() {
// put your code here
}
___

Create a free account to access the full topic