F&A Diskussionen
Weak pointer | lock()
1 Stimme
3 Antwortenhow to seperate input string?
0 Stimmen
3 Antwortenbreaking the while [SOLVED]
1 Stimme
9 AntwortenHelp optimizing code
0 Stimmen
3 AntwortenCheck My🎊🎁XMAS DAYS COUNTDOWN!🎉✨😅
7 Stimmen
4 AntwortenWord counter
0 Stimmen
1 Antwortnon unique elements list
0 Stimmen
1 Antwortx = 42;
int num = 0;
while (num <3)
Consele.writeline (x);
num++;
int x = 42; is just an int with an asigned value of 42
int num=0; is what initiate the count for the while loop
while (num < 3); means 0<3 true, 1< 3 true, 2<3 true, the loop end at 2 bc 3 <3 is false
consele.writeline (x) will display 42 while num < 3
num++ will execute and then add 1 to check if the while loop still true, but it stop at 2, bc 3 makes it false.
so the consele.write will write 42 three times. x=42, remember the (x)
0 Stimmen
2 Antworten9
2 Stimmen
6 AntwortenHeute heiß
New code
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
JAVA PROGRAMMING
1 Votes