diff --git a/.gitignore b/.gitignore index 4ce21d1..072f07d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/out/ /.idea/* +/out/ diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index d3a8164..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -/.idea/ -/misc.xml \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml deleted file mode 100644 index c729201..0000000 --- a/.idea/kotlinc.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/KotlinJavaRuntime.xml b/.idea/libraries/KotlinJavaRuntime.xml deleted file mode 100644 index 158753e..0000000 --- a/.idea/libraries/KotlinJavaRuntime.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index bcb5da6..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index dc59b92..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/out/production/KotlinSprint/META-INF/KotlinSprint.kotlin_module b/out/production/KotlinSprint/META-INF/KotlinSprint.kotlin_module deleted file mode 100644 index 4e7592e..0000000 Binary files a/out/production/KotlinSprint/META-INF/KotlinSprint.kotlin_module and /dev/null differ diff --git a/out/production/KotlinSprint/MainKt.class b/out/production/KotlinSprint/MainKt.class deleted file mode 100644 index 41cfb87..0000000 Binary files a/out/production/KotlinSprint/MainKt.class and /dev/null differ diff --git a/src/main/kotlin/lesson_1/lesson1_task1.kt b/src/main/kotlin/lesson_1/lesson1_task1.kt new file mode 100644 index 0000000..f40d327 --- /dev/null +++ b/src/main/kotlin/lesson_1/lesson1_task1.kt @@ -0,0 +1,8 @@ +package lesson_1 + +fun main() { + val numberOfOrders: Int = 75 + val textThanksForThePurchase: String = "Спасибо за покупку в нашем интернет магазине!" + println(numberOfOrders) + println(textThanksForThePurchase) +} \ No newline at end of file diff --git a/src/main/kotlin/lesson_1/lesson1_task2.kt b/src/main/kotlin/lesson_1/lesson1_task2.kt new file mode 100644 index 0000000..2b82256 --- /dev/null +++ b/src/main/kotlin/lesson_1/lesson1_task2.kt @@ -0,0 +1,12 @@ +package lesson_1 + +fun main() { + val numberOfOrders: Int = 75 + val textThanksForThePurchase: String = "Спасибо за покупку в нашем интернет магазине!" + println(numberOfOrders) + println(textThanksForThePurchase) + var countWorkers: Int = 2000 + //println(countWorkers) + countWorkers = 2000 - 1 + println(countWorkers) +} \ No newline at end of file diff --git a/src/main/kotlin/lesson_1/lesson1_task3.kt b/src/main/kotlin/lesson_1/lesson1_task3.kt new file mode 100644 index 0000000..ea05f09 --- /dev/null +++ b/src/main/kotlin/lesson_1/lesson1_task3.kt @@ -0,0 +1,13 @@ +package lesson_1 + +fun main() { + val year: Int = 1961 + var hour: String = "09" + var minut: String = "07" + println(hour) + println(minut) + hour = "10:" + minut = "55" + print(hour) + print(minut) +} \ No newline at end of file