Course of Raku / Essentials / Scalar variables / Exercises

Swap values

Problem

Create a program that first creates two values, 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

Next exercise

💪 Correct the identifiers

Course navigation

Comments / Embedded comments   |   Strings

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