Posts by zHardy • 57 points
6 posts
-
0
votes1
answer89
viewsQ: getElementById returning null if declaring the script inside the head
I wonder why when I make one console.log in my main.js, returns null in the console, though, when I declare the <script>main.js</script> inside the body, it returns the id value I’m…
javascriptasked zHardy 57 -
-3
votes1
answer49
viewsQ: Referenced method is not found in Subject class in PHPSTORM
In my code, in PHPSTORM returns that method fetch_all was not found. <?php $conn = require 'connection.php'; $result = $conn->query('SELECT * FROM users'); $users =…
-
0
votes1
answer69
viewsQ: Problem with methods
I am making a program that calculates BMI, using methods without Return. Programme in question: package pct; import java.util.Scanner; public class Ex02Metodos { public static void main(String[]…
-
0
votes2
answers117
viewsQ: Problem when calculating time
I am doing an exercise that receives a value of the radius of the sphere, and then do operations with formulas already proposed by the exercise. So far so good, at the time of rotating, wheel quiet,…
-
3
votes4
answers806
viewsQ: Organizing positions of a vector
I need to create two vectors, with 3 elements each and real numbers Then copy these values to a new vector with 6 elements The first 3 values must be of the vector with the highest summation value…
-
2
votes2
answers2979
viewsQ: Invert values from one vector to another vector
I am in the second semester of college, we are learning vector, and I am very lost in the exercise list. An exercise asks the user to type 5 elements for a vector, and then I have to take these…