Course of Raku / Essentials / Variables and data types essentials / Scalar variables / Exercises

Swap values

Problem

Create a program that first creates two variables, assigns some integers to them, and then swaps the values and prints them. Try to create the simplest program you can and do not use temporary variables.

Solution

See the solution

Course navigation

Solution: The answer to life, the Universe and everything   |   Solution: Swap values

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська