Posts by Hardysec • 85 points
4 posts
-
-2
votes1
answer28
viewsQ: Error while displaying value
I am creating a contact list in php, and when I am sent all the data of the form for it to display to me, it displayed: 1, not my data that I entered. <?php session_start(); ?> <!DOCTYPE…
-
2
votes2
answers737
viewsQ: Doubt about displaying inverted array
Could you explain to me how it works to return an array with inverted values? I took this exercise to do, but I couldn’t. Then a colleague gave me this exercise to dissect him, but I didn’t…
-
1
votes1
answer552
viewsQ: Convert base 10 to base 2
I’m trying to create an algorithm that converts base 10 to base 2. It is apparently converting, but is not returning the right binary value. package basicojava; import java.util.Scanner; public…
-
5
votes6
answers8998
viewsQ: Sum of multiples of 3 or 5
I’m trying to build a program that finds and adds the multiples of 3 or 5 below 1000. The problem is that is returning a result of the sum that does not match what I asked. package basicojava;…