Posts by Marco Oliveira • 125 points
2 posts
-
9
votes2
answers2598
viewsQ: Can this asterisk pyramid code be further simplified?
I have a simple exercise where I need to do an asterisk pyramide using repeating structure. The pyramid has 17 columns and 9 rows. My program displays it correctly, It is possible to reduce some…
casked Marco Oliveira 125 -
3
votes2
answers895
viewsQ: Add prime numbers within a vector
I have this problem : Make an algorithm that takes 1500 numbers, calculate and show the sum of even numbers and the sum of prime numbers. So far so good, I was able to filter and add even numbers,…