Browse Source

Change greeting function

John Doe 1 year ago
parent
commit
dbbdaaed61
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/main/kotlin/Greeting.kt
  2. 1 0
      src/main/kotlin/Main.kt

+ 1 - 1
src/main/kotlin/Greeting.kt

@@ -1,3 +1,3 @@
 fun greeting() {
-    println("Hello, alshabalin!")
+    println("Hello, user!")
 }

+ 1 - 0
src/main/kotlin/Main.kt

@@ -1,3 +1,4 @@
 fun main() {
+    println("Greeting program")
     greeting()
 }