Simple Array Sum

  • + 2 comments

    Using Kotlin

    fun simpleArraySum(ar: Array): Int {

    // Write your code here
    

    return ar.sum()

    }