Échangez deux numéros. Kotlin

Échangez deux numéros. Kotlin



Échangez deux nombres en utilisant une variable temporaire
Kotlin example code

Kotlin

  Output result
--Before swap--
First number = 1.2
Second number = 2.45
--After swap--
First number = 2.45
Second number = 1.2
Échangez deux nombres sans utiliser de variable temporaire
Kotlin example code

Kotlin

  Output result
--Before swap--
First number = 12.0
Second number = 24.5
--After swap--
First number = 24.5
Second number = 12.0


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month