Android Studio – How can I make this code simpler in kotlin?
I learned to program by myself and just decided to go with Kotlin. I made a simple program that solves a triangle which works well but my code is ugly and repetitive. Can you help me on how to improve…