From 5962d3a3bc6907832d36f484a7db77b617877f03 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 27 May 2021 15:07:26 +0300 Subject: [PATCH] style(Programming Basics - Summary 1 - Exercises 3 and 4): The commented ouputs added to the Task.kt files The commented examples of the output added to both of the tasks, simillar to tasks nearby. Closes https://youtrack.jetbrains.com/issue/EDC-420 --- Programming Basics/Summary 1/Exercise 3/src/Task.kt | 8 +++++++- Programming Basics/Summary 1/Exercise 4/src/Task.kt | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Programming Basics/Summary 1/Exercise 3/src/Task.kt b/Programming Basics/Summary 1/Exercise 3/src/Task.kt index 32bf8c7f..d3a2c681 100644 --- a/Programming Basics/Summary 1/Exercise 3/src/Task.kt +++ b/Programming Basics/Summary 1/Exercise 3/src/Task.kt @@ -13,4 +13,10 @@ fun main() { println(second(false, false, false)) println(second(false, true, false)) -} \ No newline at end of file +} +/* Output: +true +false +false +true +*/ \ No newline at end of file diff --git a/Programming Basics/Summary 1/Exercise 4/src/Task.kt b/Programming Basics/Summary 1/Exercise 4/src/Task.kt index 13529f71..f03b7146 100644 --- a/Programming Basics/Summary 1/Exercise 4/src/Task.kt +++ b/Programming Basics/Summary 1/Exercise 4/src/Task.kt @@ -17,4 +17,9 @@ fun main() { testLong() testDouble() testDouble2() -} \ No newline at end of file +} +/* Output: +-9223372036854775808 +1.7976931348623157E308 +true + */ \ No newline at end of file