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

 

dlopezh1@eafit.edu.co parte4 > sumarMultiplo5
prev  |  next  |  chance

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


sumarMultiplo5([13, 3, 3, 3], 2, 2) → 0
sumarMultiplo5([10, 1, 1, 1, 10, 1, 1, 1, 1], 3, 3) → 20
sumarMultiplo5([22, 42, 53, 2], 2, 2) → 0

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

public int sumarMultiplo5(int a[], int n, int m) { }

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