Please use user and password as given in the lecture! Please copy the editor's content, as it will be lost due to reloading of the page for the purpose of login.
Tutorial Webpage for
Lecture Cloud- and Web-Technologies
Rewrite the code into an equivalent, still readable, but more compact one using the features of Kotlin!
Please use the following editor for your exercise. You can run the content of the editor by clicking on the tab 'Run'...
The result of running the editor content is as follows:
The output of the solution is as follows:
Please have a look at the solution only after you have finished working on your own solution. Otherwise the learn effect is much less.