Posts by Alline Oliveira • 15 points
4 posts
-
0
votes2
answers151
viewsQ: Operator ! in if ternary
Could someone explain to me the use of ! at the beginning of the code? $number = 28; $resultado = !($number % 2) ? "O número é par" : "O número é ímpar"; echo $resultado;…
-
-2
votes1
answer2656
viewsQ: Calculating Javascript false/rue relationship
Could help me solve this question, it should return false/true! We need to create a function that checks if two people are half brothers! In order for you to solve this exercise, we have defined for…
-
-3
votes2
answers93
viewsQ: Help validate results separately Javascript
Hello, I have this question to solve, I make the formula to find the highest value of the two numbers, but I’m having difficulty validating the results in each question. I took a print to show. The…
-
-2
votes2
answers170
viewsQ: Making Javascript function accounts
Hello, I have to multiply using the function, are 3 calculations. When I do the following structure, only the last result appears in Return. function multiplicar(){ return (7*5), (7*10), (50*0.5); }…