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
When I run this script, it only outputs the first if statement and not the other elif statements, and gives E0F Errors... HELP
cpython
python
python3
0 Voto
3 Respostas
1st Jan 2020, 4:39 AM
Hawk Strattus
If i write "40"+20+30 what is his output. second i write 20+30+"50" what is his output . 3 statement i write 20-"40"+60 output
javascript
0 Voto
4 Respostas
13th Apr 2017, 6:11 PM
manoj chauhan
Tutorials: study following algorithm in pseudocode .Display the exact output that will be displd aftr statement has ben executed
emmanuel
issaic
0 Voto
2 Respostas
19th Mar 2017, 9:16 AM
Rifumo Makwakwa
Write a statement in python to open a text file rewrite txt so that new content can be read or written from it.
python
-1 Voto
3 Respostas
18th Mar 2020, 6:55 AM
Siddharth D
How do you get the statement "Learning is fun" to repeat itself thrice in a given expression using for loop in Java sript.
javascript
0 Voto
1 Resposta
29th Oct 2023, 7:12 AM
Sergeant Nyams
Guys, is this the right way of nesting an if else statement in Kotlin coz my code is outputting an error
kotlin
1 Voto
1 Resposta
29th Aug 2022, 12:13 PM
Ayebazibwe Morris
Am trying to us php in my pc but it seems like nothing is happening even a hello world statement is not showing ..what to do
.
help
php
3 Votos
2 Respostas
29th Dec 2020, 11:07 AM
KcK
Why output is 10?
coding
decrement
help
increment
output
python
python3
sololearn
statement
variable
4 Votos
3 Respostas
4th Jul 2018, 4:48 PM
Maninder $ingh
What code to type to select item in listbox making its price appear in textbox? If and else statement
c#
listbox
0 Voto
2 Respostas
13th Dec 2017, 12:19 PM
Vishwadev Luchmun
why my code isn't working ..i have made a calculator earlier using switch...but now i want it to work using if statement
c++
calculator
if-statements
not_working
0 Voto
3 Respostas
1st Apr 2017, 5:08 PM
Laraib
Will the statement execute and terminate after the first if or will it continue to execute? Both statements >= 50, ==100 are cor
c++
else-statements
0 Voto
2 Respostas
13th Jun 2019, 1:17 PM
magdy19106
I just tryed an if statement in the code playground. But im lost on how to get the variable to work. Take a look!
help
python3
variables
x
0 Voto
4 Respostas
8th Jun 2017, 7:57 PM
Edward Seton
Write if else statement using c++ to compute students result 80- 100 grade is A 70- 80 is AB 60- 70 is B 50-60 Bc 40-50 c
c++
1 Voto
3 Respostas
4th Jul 2019, 5:41 PM
Nandom Gabriel Mberkyes
writt a Python program that use an if statement to find the smallest of three given integers without using the min function?
python
1 Voto
2 Respostas
12th Nov 2017, 6:39 AM
Belal channel
Where can I put "break" below "if" statement and condition , because it says that the "break" is outside the loop ??
break_statement
problem
python
0 Voto
2 Respostas
12th Jun 2020, 3:23 PM
Darius11
A member function can be declared static,if it does not access any non-static class members. Following statement are true&false?
p
1 Voto
1 Resposta
9th Apr 2017, 10:49 AM
prajapati piyush
In a switch statement is it possible to use a string variable or can you only use integers (c#)
c#
switch-statement
1 Voto
1 Resposta
2nd Jun 2017, 8:00 PM
James Murphy
How do I connect the if statement and the else to the prompt so I if a user types something and what he types will activate if
javascript
0 Voto
3 Respostas
14th Dec 2021, 12:01 AM
branvie sumanting
I am not able to understand what the return statement do-true and false do here .can someone explain the same with example .
python
0 Voto
2 Respostas
8th Jan 2019, 4:11 AM
Mara
Can someone complete this c++ switch statement code. The two dashes are blank and it needs to be answered to complete the code.
c++
programmer
0 Voto
2 Respostas
27th Dec 2022, 11:08 AM
Alex Boso Nzaphila
I dont know why we have do...while loop? We can easily executive a statement by some code one which do does ..then y need of do?
c++
2 Votos
3 Respostas
25th Jul 2017, 6:02 PM
Yasir Faiz Ahmed
Someone please explain me the following statement for bubble sort 👉 for ( d = 0 ; d < n - c - 1; d++ )
c
cprogamming
1 Voto
2 Respostas
28th May 2018, 11:42 AM
Satyam Kirati Namnu
In the last statement the answer should be 8. If x=2 then x+ (3*2) = 2+6 = 8. I know I am wrong , but how?
operators
-1 Voto
4 Respostas
18th Jan 2019, 10:35 AM
Haider Rassiwala
How will the compiler work when we simply pass a value in if statement For eg. If(32) Cout<<"true"; Else Cout<<"false";
If
0 Voto
2 Respostas
20th Sep 2017, 4:28 PM
dhiman mishra
How will the compiler work when we simply pass a value in if statement For eg. If(32) Cout<<"true"; Else Cout<<"false";
If
0 Voto
2 Respostas
20th Sep 2017, 4:09 PM
dhiman mishra
printf("%ld", sizeof(main())) in this statement if we place %f then output will be 0.000. Why the value is 0.000 ?
c
0 Voto
1 Resposta
6th Oct 2020, 3:53 AM
PUCHA SRINIVASA PAVAN
I am new in java.... I found that lopping and conditional statement of java is same as that of C.
java
loops
0 Voto
2 Respostas
18th Sep 2016, 6:45 AM
aman kumar
Why we use this in print statement?🤔
coding
false
flush
print
python
python3
sololearn
statement
true
use
2 Votos
1 Resposta
6th May 2018, 4:09 PM
Maninder $ingh
Hey Guys pls help me with one c++ or crelated problem statement pls tell me what I an supposed to do this problem is from ICPC
c
c++
help
icpc
1 Voto
1 Resposta
11th Feb 2019, 8:34 AM
Aditya
How to use newline statement in print function? How to print the color of the object in next line in below code?
&
classes
objects
python3
0 Voto
1 Resposta
7th Aug 2020, 2:31 AM
Ashish Singh
why use % two times in if statement after top 10 when result show one time %, what is the mean of second percentage?
c
0 Voto
1 Resposta
13th Mar 2020, 7:32 PM
Jitendra Kumar
can anybody guys tell me why we are using amount=remaining in 13th line? and why we are using print statement in the outside ?
help
java
loan_calculator
loop
sololearn
0 Voto
2 Respostas
15th Aug 2022, 8:16 AM
MATHIVANAN T A
Please I need help in sql , How can IF ELSE, CASE and WHILE statement been use in adventure work?
victor
-1 Voto
2 Respostas
22nd Jan 2018, 4:31 PM
Fredrick Obarafor (Fredoski)
How can we differ that which statement is part of user defined function and which is a predefined function statement?
functions
python
0 Voto
1 Resposta
22nd Jul 2016, 4:38 PM
Ar Rehman
Getting stuck on Javascript Module 3 Pro Practice: Admission In Pairs
admission
and
conditionals
else
in
javascript
loops
pairs
practice
pro
statement
0 Voto
2 Respostas
14th Jan 2021, 10:53 PM
Cyndria Abernathy
i have a question that what is the need of elseif statement if our work can be done by using number of if. same output will be produced then what is the basic purpose of elseif?
else-statements
if-statements
php
0 Voto
10 Respostas
5th Aug 2016, 3:23 AM
Ankita Sharma
Someone please help with the continue statement in Java, I don't quite understand it. Is it only applicable within for loops?
java
loops
0 Voto
2 Respostas
9th Sep 2017, 2:07 PM
Olawumi Qauzeem Yusuff
Is it possible to have 2 if statements executing at the same time in javascript?
canvas
css
html
if
javascript
simultaneous
statement
1 Voto
1 Resposta
4th May 2019, 5:17 PM
BossMan
guys I have a question in array. When i run the code it prints "sanji" since the statement is [2] & it is count as 0,1,2. now ++
java
0 Voto
2 Respostas
5th Oct 2022, 2:58 PM
ivor
Trying to understand where the else is to the if statement in the adult part. Is there not one and just closed by the }
c++
else-statements
0 Voto
3 Respostas
19th Nov 2017, 1:38 PM
Terry Smart
In python3 cant we use if statement as - x= int(input (' 2+2') if x = 4 print ('correct') and if we can then how?
python3
0 Voto
3 Respostas
11th Dec 2017, 3:41 PM
Arjun Mahanty
Wrote the code right but getting ExampleProgram.java: error: missing return statement } ^ 1 error in commant prompt what to do?
java
-1 Voto
2 Respostas
18th Aug 2016, 8:13 PM
Chahat Gupta
Is python smart enough to realise which print statement to print after having two except blocks?I.e just by typing zero division
exceptions
python
-2 Votos
1 Resposta
8th Apr 2017, 7:08 PM
Cyndy Wasai
Message PP 6: Unterminated string or character constant PI Statement missing: CPP 15: 'a' is assigned a value that is never used
c++
0 Voto
1 Resposta
20th May 2018, 1:12 PM
Mahendra Kumar
Can someone please explain this loop?
for
forloop
iteration
iterators
javascript
js
loop
statement
2 Votos
3 Respostas
31st Aug 2017, 9:37 AM
Elvis Ngboki
I need help with an assignment. I need to create a program that uses C++. It has to be a while loop with an if...else statement
else
if
loop
while
0 Voto
1 Resposta
26th Dec 2022, 3:39 PM
Angelito Palaroan
Beginner code issues
beginner
check
conditional
elif
else
help
if
statement
syntax
3 Votos
3 Respostas
14th Apr 2018, 11:59 AM
Black Rose
If output is correct and func is called acc to function overloading is used then why cout statement inside func isn't printed?
function-overloading
0 Voto
2 Respostas
21st Aug 2017, 12:23 AM
leevansha
write a statement in python to open a text file rewrite txt so that new content can be read or written from it.
files
python3
-2 Votos
2 Respostas
18th Mar 2020, 6:59 AM
Siddharth D
I GOT ERROR WHEN CALL FUNCTION JS (SOLVED)
arrowfunction
callback
const
function
javascript
js
let
statement
0 Voto
2 Respostas
11th Jun 2021, 7:08 PM
hafidz ridwan cahya
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
32
33
34
35
Próximo >
Quente hoje
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
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