Starting with Add.kt, add a setValue() extension function to Sum that assigns its value argument to a in Add (change Add to make this work). The starter code in main() tests your solution.
Add.kt
setValue()
Sum
value
a
Add
main()