From 8160aa3bf52965e70e2d9a3eb0c4af11cffbe4e3 Mon Sep 17 00:00:00 2001 From: g1reee Date: Thu, 8 Oct 2026 10:44:46 +0300 Subject: [PATCH] add file --- works/stage-4/src/stage4/.gitignore | 32 ++++++++++++++++++++++++++++ works/stage-4/src/stage4/src/Main.kt | 14 ++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 works/stage-4/src/stage4/.gitignore create mode 100644 works/stage-4/src/stage4/src/Main.kt diff --git a/works/stage-4/src/stage4/.gitignore b/works/stage-4/src/stage4/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/stage-4/src/stage4/.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/stage-4/src/stage4/src/Main.kt b/works/stage-4/src/stage4/src/Main.kt new file mode 100644 index 0000000..7265465 --- /dev/null +++ b/works/stage-4/src/stage4/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