Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Hello dear Sololearners! Can anyone explain why the statement " echo 1 .print (1).1 outputs 1111" as it's present in SL chalenge
challenges
print
1 Voto
3 Respostas
4th Jul 2017, 9:18 AM
Alexandre Sherozia
Can anyone explain , how a continue statement works and what is break , what is the relation btw this two.
break
continue
while
0 Voto
2 Respostas
27th Jun 2020, 8:32 AM
Akhil
Can anyone suggest a c program using control statement that i want to write. This will help me to improve myself.
c
1 Voto
2 Respostas
18th Jul 2018, 6:56 AM
Programmer Raja
Why doesn’t the machine run the last sentence?
If
if-statements
python
statement
0 Voto
1 Resposta
10th Dec 2017, 4:07 PM
Alex Schmidt
how can we do 2 things using a loop
condition
java
loop
statement
0 Voto
1 Resposta
7th Aug 2017, 5:15 PM
shobhit
Can anyone help me fix my code. (Nested if statement C++) I tried to run it but it doesn't give reasonable outputs. THANK YOU!!!
c++
if-statements
nested
0 Voto
4 Respostas
16th Mar 2021, 1:04 AM
Jessica Zarate
Write a c program that input three numbers a,b,c then depending on x values if x=1 it sorts a,b,c in an increment from .if x=2 it sorts a,b,c in decremental from using: 1-if statement 2-conditional switch statement
c
c++
0 Voto
2 Respostas
25th Aug 2016, 11:09 AM
miss comp engineer
Iterating in two consecutive elements that will both return True on a list using "if" statement if the first one is already True
python3
1 Voto
3 Respostas
30th Mar 2020, 4:02 AM
Yves Manalo
How can this statement give the output - print("print") , when it is using single quotes. It should be an error.
input
output
python
0 Voto
4 Respostas
11th Jun 2017, 4:18 PM
Canterville Ghost
How the '&' operator works in if-else statement and What is the difference between '&' and '&&' in logical operation.
3 Votos
1 Resposta
2nd Mar 2017, 11:59 AM
Mr.Curious
I want to know, how to write the size of first string in vector after execution. Is my statement in the code correct?
c++
0 Voto
3 Respostas
23rd Sep 2021, 4:49 AM
TeaserCode
white c program using else sir statement to find the largest number among the given two intergar number
c
0 Voto
1 Resposta
9th Dec 2022, 6:34 PM
Akshay bevinakatti
In d below program the Output will come as 2 3 1 100 how it vl come can anyone explain? how d sop Statement work here?
java
1 Voto
7 Respostas
2nd Sep 2016, 2:56 PM
suji prem
Pls i need a correction to this code. I will love a solution that uses if else statement and for loop.
if-statements
javascript
loops
0 Voto
2 Respostas
13th May 2019, 10:30 PM
Bolaji Olayinka
So I'm guessing that the default statement doesn't require a break because it's already at the end of the switch statement?
c++
switch
0 Voto
4 Respostas
23rd Mar 2016, 9:40 PM
Sara M
An example of a program to determine the point equivalent to the grade using switch-case statement .....
c++
0 Voto
2 Respostas
7th Mar 2017, 5:55 AM
chamaliakhan
Is there any difference if i use double quotes in place of single quotes in print statement
python
-3 Votos
4 Respostas
3rd Nov 2017, 5:16 PM
VarunRaj Kancharla
What is the effect if i use postfix for updating in loop statement compared to prefix? Is there any difference?
c++
loop
postfix
prefix
update
0 Voto
2 Respostas
10th May 2018, 10:56 AM
Hyeong Hyuga
In array, what happen after for statement we put semicolon? It is does not excute anything or it just ignore the for statement?
array
java
semicolon
3 Votos
2 Respostas
13th Feb 2019, 3:42 PM
Niesa Irdina
pls i need a comprehensive explanation of what this statement does "if __name__=='__main__':". i still don't fully understand it
python
1 Voto
2 Respostas
14th Sep 2017, 8:37 AM
Owolawi Kehinde
What is differnce between expression and statement?
codeplayground
coding
expression
python
python3
sololearn
statement
2 Votos
2 Respostas
27th Mar 2018, 7:42 AM
Maninder $ingh
Hey guys!...is it necessary to put '>>>' in every statement in phyton.i am confused how to use it in phython, pls help me out..
numeric-operations
python
1 Voto
5 Respostas
24th Dec 2017, 4:51 AM
Vinod Rajan P
Any reason why i cant print a space with my code? Sorry if it looks pointless its really not 😋. Thanks
for
If
java
loop
statement
static
void
2 Votos
7 Respostas
26th Aug 2017, 10:13 PM
D_Stark
Why we use ' endl ' at the end of every cout statement and return 0 at end of program
else-statements
0 Voto
2 Respostas
27th Nov 2018, 11:29 AM
Sameer Ali
I want to print the if statement by inputting 5, but unfortunately print the else statement, help me to print the if statement.
help
python
0 Voto
3 Respostas
22nd Jan 2021, 6:02 PM
Muhammad Abdulmalik
Write an if-else statement that output the word passed provided the value of the variable exam is greater than or equal to 60
good
2 Votos
3 Respostas
1st Jul 2017, 12:34 PM
Aderibigbe Ebenezer Adewale
Is there a way to either read what a cin says and convert that into a command, or is there a way to do a switch statement but
c++
1 Voto
5 Respostas
19th Sep 2019, 10:51 PM
DeathPony333
Try to use more functions with cin statement inside the c program, compile. and run the program.
cnn
helen
-1 Voto
1 Resposta
7th Feb 2017, 6:47 PM
Zeyad Sharo
Whats the difference between a normal statement and a comment in terms of when both are displayed.
comments
php
1 Voto
1 Resposta
29th Jan 2018, 5:09 PM
Chimenem
Can the DROP statement be used to delete rows too by replacing drop column with drop ROW?
sql
tables
0 Voto
1 Resposta
27th Aug 2016, 4:27 AM
Nakul Dumblekar
write an input statement validation loop that prompts the user to enter a number less than 20 or greater than 75?
java
loops
0 Voto
3 Respostas
28th Sep 2016, 11:59 AM
Nhyn Ojastro
I am using a program to check whether character is constant or variable I am using switch statement .
c++,
switch
0 Voto
1 Resposta
22nd Mar 2021, 5:15 AM
Nitin Bisht
The if and else statement I run wont give me the expected results...rather it saves and gives an invalid statement......why?
else-statements
python
0 Voto
3 Respostas
27th May 2017, 9:13 AM
Abel Linus
How can I make my first Java code work? I'm only level 2 but I want to make a countdown from 5 to 1 with an exclamation.
2
countdown
if
java
level
statement
string
0 Voto
5 Respostas
23rd Mar 2020, 3:29 AM
Johnna Boots
If x=10 & y=20 then what will be the values of x and y after execution of the statement x+=(y++ - --y)*y++
java
0 Voto
2 Respostas
22nd Jan 2019, 3:11 AM
Shivam Srivastava
Can anyone tell me why it outputs the if statement that is true when we input Sunday into it even though we enter anything else?
https://code.sololearn.c
0 Voto
4 Respostas
14th Sep 2020, 12:21 AM
Sean Santhosh
How can I change the fontsize and style of any one or two words in a python statement
answer
please
-1 Voto
1 Resposta
6th Jun 2019, 1:10 AM
Nandan
Who can pls guide me through input statement in solo learn... It seems to be showing me error but everything is right 🤔
input
0 Voto
2 Respostas
18th Oct 2022, 9:23 AM
Emi Triggers
How to write a code for encrypting data in the form of numbers in c++ by simple if statement for example input =ab so output =12
help
me
pleas
1 Voto
4 Respostas
30th Oct 2018, 1:04 PM
Fan Of Mr Beast
Why does my method return null when I set max to null ? It should be initialized within the conditional statement
java
1 Voto
1 Resposta
28th Nov 2020, 12:33 AM
Adrien Linares
What will happen if you put return statement or System.exit () on try or catch block? Will finally block execute? Read more: ht
java
1 Voto
2 Respostas
11th Apr 2020, 6:50 PM
ekhlas Mohamed Abdallah Mohamed
I'm confused. What does the "Convert.ToInt32" statement do? I keep seeing it throughtout the course lessons, but don't remember the app talking about it.
c#
int
0 Voto
5 Respostas
18th Aug 2016, 1:21 PM
Daniel Hildreth
Is it possible to have more than one "else if" conditional statement in the same script. Even tried this code didn't work.
javascript
1 Voto
3 Respostas
1st Jan 2017, 9:21 PM
Idowu Shogbon
Hi there, help me from this code ,it skips "if" statement and execute "else "statement, whenever I run.
php
0 Voto
2 Respostas
15th Nov 2017, 11:56 PM
HAZZAN
I don't see the point in the raise statement. Can someone please explain the raise statement to me?
exceptions
python
raise
0 Voto
2 Respostas
13th Sep 2016, 2:16 PM
DELETED
In python, is there a way to make an if statement run if a certain number of any of the given conditions are satisfied?
if-statements
python
2 Votos
3 Respostas
1st May 2017, 8:32 AM
Swapnodip
How do you have the user input a number and have the program use a if/elif statement to print something?(python)
python
Userinput
1 Voto
2 Respostas
30th Sep 2017, 5:04 PM
Mr.BoopyDooper
C++ says in the end of every statement we should use semicolon but why is semicolon not used in the end of #include <iostream>
c++
0 Voto
2 Respostas
14th Sep 2020, 2:44 AM
Sefali Sarkar
Is there anything else in "if" statement i need to know other than knowing that "if" nesting works only if outer "if" is true?
if
nesting
0 Voto
2 Respostas
19th Nov 2020, 2:45 AM
Amit Mondal
When I input 2 it prints human and not human. Should just print human. Tried to get rid of the else statement , it didn't work.
c++
cpp
else-statements
if-statements
1 Voto
4 Respostas
22nd Oct 2018, 6:29 PM
Dels White
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
31
32
33
...
35
Próximo >
Quente hoje
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes