F&A Diskussionen
What is c>a?1:0
0 Stimmen
1 AntwortHow to read php
0 Stimmen
7 AntwortenDoes OR work with ternary?
2 Stimmen
6 AntwortenHow does this code work?
0 Stimmen
1 AntwortDraw this triangle [CHALLANGE]
19 Stimmen
23 Antworten? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 Stimmen
6 AntwortenCan we do like that in C++
1 Stimme
1 AntwortHeute heiß
Python
1 Votes
Are websites hackable?
1 Votes
TICTACTOE
0 Votes
Error
0 Votes
Learn python
0 Votes
Help for study
0 Votes
BIG DOUBT🤔🤔🤔🤔
1 Votes
Need help (French)
0 Votes
What's an unsigned int?
0 Votes