I am seeing JavaScript and I came across this that I do not understand the Boolean objects and the Boolean primitives .
If I use a Boolean object to compare it in a if will it give me false ?
Or why the documentation of...
Hello my question is a very simple question, I have these two expressions and let me analyze them to see if I do it correctly:
False or not (True and True)
False
In this first expression following the recommended order, I first analyze not...
I am new to StackOverflow and also programming in Java. I am going through exercises that I did in pseudocodigo to Java, and I find an error that I can not solve in the for loop.
The idea of the exercise is to create a vector that contains fr...
I made a program of stone paper and scissors. Everything works well (except when I want to add the option of 'scissors' or 'scissors' as an answer) I want you to accept both options as an input.
#(esta es una version simplificada de mi codigo,...
What am I doing wrong? In Javascript I am using the logical operator or in:
Use the logical operator or in variables 'foo' and 'bar' and assign it the
result to the variable disjunction.
But it's not working for me; The code I use is...
I am a novice student of programming and I have an error in certain lines of code, the question is I do not know why the query takes the value of a Boolean and it gives me the following error.
Uncaught Error: Call to a member function fetc...
I'm in a problem, I have a SELECT that asks for ususario (int) , contraseña (String) and tipo (boolean) of a database, I keep them in a Object [][] , all right there, but when I want to save those 3 values in oth...
I would like an output like this: (I would prefer to use only while and Boolean expressions if possible.)
escribe un numero: -50
debes usar un numero positivo!
escribe un numero: -200
debes usar un numero positivo!
escribe un numero: 200
esc...
int bandera;
while (++bandera != 1) {
bandera--;
}
I do not understand the code of ++bandera != 1 . Does it mean that +1 is added to the flag and then fixed if it is different from 1?
my question originated when trying to compare 2 words of different origin, one of phpmyadmin and another of excel, that visually looked exact but when executing gave false
the difference can be seen in sublime
but then in which cas...