- 2
I've been trying to use if and else statements in boolean. Neeed help😢
8 Respostas
+ 5
// Don't use the if else statement with the boolean or else, it is not functioning properly.
+ 5
To get this, you create the prompt with the vairable and create the dialog to get the value after input.
+ 4
Your question please
0
trying to get user input, and fix it in an if and else statem
0
statement*
0
okay
0
so how do I get user input in conditional statements
0
use ? as if and : as else like this ->
bool?true:false