Created
August 18, 2020 21:56
-
-
Save aabeben/8753a7dc2cab3d3cc8c80cb225b045d8 to your computer and use it in GitHub Desktop.
Balikin kata pada dartlang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main(){ | |
var anuMu="hihihi"; | |
print(terbalik(anuMu)); | |
} | |
String terbalik(anu){ | |
return anu.split('').reversed.join();} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment