Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
? : 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 AntwortenHELP ME
3 Stimmen
3 Antworten.NET
0 Stimmen
3 AntwortenBest language for writer tool?
0 Stimmen
1 AntwortMain Page
1 Stimme
2 Antwortenusing a while loop create a guessing game program that keeps asking the user to enter a number until the user enters the number 7. You will need to create and initialise an int variable to zero. You can then use this variable as the condition in your while loop ( while the number is not equal to seven) Then in the while loop ask the user to enter a number and store the number entered in the number variable that is in the conditions of your loop.
0 Stimmen
1 AntwortHeute heiß
Questions
1 Votes
HTML CSS - Filter: brightness()
0 Votes
Why it's giving error
3 Votes
Questions
0 Votes
String methods
1 Votes
xampp
0 Votes
Collection
0 Votes