Buggy message

Report a typo

Write the code that uses some already declared variables, and prints the following:

From: [email protected]
To: [email protected]
Subject: A Very Gentle Reminder
"Fix the bug in your code..
or I will fix a bug for you."
Write a program in Kotlin
const val SENDER = "From: [email protected]\n"
const val RECEIVER = "To: [email protected]\n"
const val SUBJECT = "Subject: A Very Gentle Reminder\n"
const val FIRST_LINE = "\"Fix the bug in your code..\n"
const val SECOND_LINE = "or I will fix a bug for you.\""
// Do not change the lines above

fun main() {
val friendlyMessage = StringBuffer()

// write your solution here

println(friendlyMessage)
}

Create a free account to access the full topic