Posts by Iury • 45 points
2 posts
-
3
votes3
answers606
viewsQ: Find the element with the highest number
I’m doing a basic election system, but I have a problem telling which candidate was elected. In this case, I added three candidates (x, y, z) to a ArrayList, I put two votes on x, three on y and…
-
1
votes1
answer82
viewsQ: How do you associate a calculus function within an express function to use in Routes?
To with a very big doubt, I have a function that makes calculations of users' metrics and I want to put it in an express function to be able to return a JSON and use it in a route, It follows the…