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

 

srp4379@lausd.net quiz > sumsEqual
prev  |  next  |  chance

boolean sumsEqual(int[] a, int[] b). Given 2 arrays, each having a length of 2, return true if the sum of their elements are equal.


sumsEqual([1, 3], [0, 4]) → true
sumsEqual([7, 8], [20, -5]) → true
sumsEqual([0, 0], [10, -10]) → true

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

boolean sumsEqual(int[] a, int[] b) { }

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: 105

Copyright Nick Parlante 2017 - privacy