New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
interview questions select case when null = null then 'Yup' else 'Nope' end as Result;
sql
0 Votes
7 Answers
14th Jul 2016, 6:57 PM
Tijo Joseph
how to use else if and switch
c++
1 Vote
4 Answers
14th Jul 2016, 1:49 PM
Kushagra Bhatia
is anyone else having issues pressing "check" button? in my case it just popped up keyboard and can't let me go onwards
else-statements
python
4 Votes
3 Answers
11th Jul 2016, 1:14 PM
Timo Uustal
How can I make such that it terminates on my command else it doesn't?
java
1 Vote
4 Answers
10th Jul 2016, 1:52 PM
Nandan shukla
When is else if used instead of if else ?
if-statements
java
0 Votes
2 Answers
10th Jul 2016, 1:03 PM
Umed Jadhav
can we used only if statement without else statement give example also
c++
1 Vote
6 Answers
10th Jul 2016, 3:20 AM
piyush
как написать инструкцию else
else-statements
python
1 Vote
4 Answers
8th Jul 2016, 4:22 PM
temur
Using the else statement after if is not mandatory?
if-statements
python
0 Votes
2 Answers
8th Jul 2016, 8:59 AM
ANIMESH GUPTA
Can I use else statement after loop stops?
c++
loops
0 Votes
2 Answers
6th Jul 2016, 7:06 PM
Carlos Alexandre
i took comp.science...itz my last yr n still unable to cop,bt looks this amazing gonna help me alot...I wanna what's fussing??is there anyone else with same prblm...may b two needless can turn into useful person...
c++
0 Votes
1 Answer
6th Jul 2016, 7:51 AM
Shashank Singh
public class Program { public static void main(String[] args) { int result = 0; for (int i=0; i<5; i++) { if (i==3) { result += 10; } else { result += i; } } System.out.println(result); } } The result is 17. But how? I want to understand. please help.
java
0 Votes
3 Answers
5th Jul 2016, 5:04 PM
Beniamin Firtala
Fill in the blanks to overload the greater than operator for the Box class. public static ____ operator __(Box a,Box b) { if (a.Height*a. Width > b.Height*b.Width) ______ true; else return false; } The blank space for "Box" have 4 char spaces, it wont let me pass!
c#
operator-overloading
8 Votes
22 Answers
27th Jun 2016, 9:49 AM
William
How to write a program to find a number is even or odd. Print "even" or "odd" on screen conditions : don't use / % conditional statements if else switch and loops for while & do while
c++
3 Votes
8 Answers
26th Jun 2016, 6:59 AM
Ramesh Marisa
How can we print average of 5 number using if else
c
c#
loops
0 Votes
4 Answers
22nd Jun 2016, 12:29 PM
Jyoti Gupta
Example: Console.WriteLine("value of a="); Char a= Console.ReadLine(); if(b>2 && c>3 || a>2) ...... Else ...... It gives error like... "cannot implicitly convert type 'string' to 'char'..." So now please tell me how to convert it... And how to use in code
c#
type-conversion
1 Vote
4 Answers
17th Jun 2016, 7:04 PM
Ajay Mangaj
How to add multiple OR(||) and AND(&&) operator in if... Else statement?
c#
3 Votes
8 Answers
17th Jun 2016, 6:37 PM
Ajay Mangaj
Is there a difference in using a switch statement with cases and in using an if statement with else ifs (which have the same conditions as the cases)?
c#
if-statements
switch
1 Vote
6 Answers
16th Jun 2016, 9:26 PM
Klaus
Is there a difference in using a switch statement with cases and using an else statement with else ifs ? - seems like not.
c#
switch
2 Votes
2 Answers
16th Jun 2016, 8:14 PM
Klaus
What's the real difference between switch and else if?
else-statements
javascript
switch
2 Votes
8 Answers
16th Jun 2016, 6:31 PM
Cristina
Is it possible to leave out curly braces in the else statement as well if only one line of code is supposed to be executed?
c#
else-statements
if-statements
1 Vote
9 Answers
26th Apr 2016, 7:37 PM
Th3Muff1n
Does switch statement works faster than else if structure.? or both take the same time?
javascript
switch
1 Vote
10 Answers
14th Feb 2016, 3:33 PM
Ru7w1k
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
29
30
Next >
Hot today
Wrong?
0 Votes
Internal vs external JS
2 Votes
Can anyone guide me
0 Votes
Are certifications from Sololearn Valid to proofe or are they good or not?
0 Votes
What is wrong with my code plzz tell me i am in hurry
0 Votes
I just I just resolved the dictionary problem , the program doesn’t allow me to access to the next lesson
0 Votes
i need help
0 Votes
[SOLVED] C# Password Validation : Test #4
1 Votes
Snake game
0 Votes
Truth Table Generator wont show correct result when user inputs Logical NOT
1 Votes