From 7c2d313a81d2aa2ff639e92b54b5a09b07275c70 Mon Sep 17 00:00:00 2001 From: g1reee Date: Mon, 5 Oct 2026 19:00:46 +0300 Subject: [PATCH] add file --- works/lab-05/src/land/.gitignore | 32 +++++++++++++++++++++++++++++++ works/lab-05/src/land/src/Main.kt | 14 ++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 works/lab-05/src/land/.gitignore create mode 100644 works/lab-05/src/land/src/Main.kt diff --git a/works/lab-05/src/land/.gitignore b/works/lab-05/src/land/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/lab-05/src/land/.gitignore @@ -0,0 +1,32 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/works/lab-05/src/land/src/Main.kt b/works/lab-05/src/land/src/Main.kt new file mode 100644 index 0000000..7265465 --- /dev/null +++ b/works/lab-05/src/land/src/Main.kt @@ -0,0 +1,14 @@ +//TIP To Run code, press or +// click the icon in the gutter. +fun main() { + val name = "Kotlin" + //TIP Press with your caret at the highlighted text + // to see how IntelliJ IDEA suggests fixing it. + println("Hello, " + name + "!") + + for (i in 1..5) { + //TIP Press to start debugging your code. We have set one breakpoint + // for you, but you can always add more by pressing . + println("i = $i") + } +} \ No newline at end of file