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

 

dlopezh1@eafit.edu.co > sumarMultiplo3
prev  |  next  |  chance

Se tiene una matriz de n x n y se desea halla la suma de los nĂºmeros que son multiplos de 3. La matriz esta representada como vector. ejemplo para la matriz a de 2x2 se tiene {1,2,2,1}, la suma es 0


sumarMultiplo3([13, 3, 3, 3]) → 9
sumarMultiplo3([1, 1, 1, 1, 1, 1, 1, 1, 1]) → 0
sumarMultiplo3([22, 42, 53, 2]) → 42

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

public int sumarMultiplo3(int a[]) { }

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

Copyright Nick Parlante 2017 - privacy