id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

pais@kinetigram.com > A111_sum3
prev  |  next  |  chance

APCS Array 1, Problem 11. Given an array of ints length 3, return the sum of all the elements.


A111_sum3([1, 2, 3]) → 6
A111_sum3([5, 11, 2]) → 18
A111_sum3([7, 0, 0]) → 7

...Save, Compile, Run (ctrl-enter)

public int A111_sum3(int[] nums) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy