Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
Puzzle: Why does a for loop using the increment statement "x =+ 2" run forever?
for
increment
infinite
java
loops
0 Voti
3 Risposte
2nd Jan 2017, 11:36 AM
Christian Wiesner
Why can't we use else statement with while in java, whereas if need be what is the best possible alternative?
java
python
sololearn
0 Voti
5 Risposte
2nd Jun 2020, 4:29 PM
Ehtisham Rehmat
What will happen if you put return statement or System.exit () on try or catch block? Will finally block execute?
catch
exit
finally
java
return
try
6 Voti
2 Risposte
2nd Jan 2017, 5:40 PM
sadiya zainab
How to separate an string to it's words?
c++
code
length
statement
strings
variables
words
6 Voti
7 Risposte
13th Mar 2020, 9:41 AM
Mohammad Aghazadeh
Hello, i need some exercises of if else statement so plz help me thankyou
java
ruby
0 Voti
2 Risposte
31st Dec 2016, 9:39 AM
Arsal Jutt
[SOLVED] I'm learning while loop, and can someone tell me why the "break" statement isn't stoping the loop here?
loops
python3
while
0 Voti
3 Risposte
1st Jan 2021, 2:41 PM
Albanianz
if java application works based on voice mode what code statement i need?
java
0 Voti
1 Risposta
4th Sep 2016, 8:14 AM
Dhana vignesh.T
This HTML program is not satisfying the if else statement , Why ?
html
0 Voti
1 Risposta
20th Jan 2018, 3:43 AM
Radha Bagadi
Show the output of the following statement assuming that a=41.16,b=21.12,i=52,and j=101: Cout<<steprecision(3)<<a<<setw(12)<<b<<endl; Cout<<setw(6)<<i<<setw(8)<<j<<endl;
c++
output
0 Voti
1 Risposta
7th Oct 2016, 7:19 AM
miss comp engineer
Any one... Having rich of C++ knowledge n even who know this problem statement answer it plzzz
c++
functions
2 Voti
3 Risposte
30th Mar 2017, 3:31 PM
Anjaneya Karjigi
What is for statement used for and how it is used plz give me with simple example
python3
-1 Voto
3 Risposte
22nd Mar 2022, 4:42 AM
raju khera
I Don't understand the use of ^ in Java
conditional
expression
java
statement
2 Voti
2 Risposte
16th Jun 2017, 9:46 PM
Eduardo Perez Regin
[SOLVED] When I loop an Array, and I want to make an if else statement with the array.next() block. What can I do?
array
dejavu-challenge
if-statements
java
while
2 Voti
7 Risposte
30th Apr 2020, 8:57 AM
Orango Mango
Hi everyone, I can't seem to find where I got it wrong. The elif statement is not recognised in my code. Please I need help.
else-statements
if-statements
python3
0 Voti
7 Risposte
21st Oct 2021, 5:43 PM
David Alpha
write a programin php to print n numbers without using loop or a foreach statement .
php
0 Voti
3 Risposte
31st Jul 2016, 9:03 AM
Surbhi Jain
What do we call the statement in a code that is not being used at all
c
c++
glossary
java
python
0 Voti
2 Risposte
17th Jul 2020, 11:56 PM
Mohammad Ala Tahhan
Why the return statement only take integer ,why it can't take char as char has also a ascii value which is also a integer.
return
2 Voti
2 Risposte
11th Oct 2018, 2:45 PM
Ankita Sinha
What's wrong with the code from the switch statement pro practice run? Or is it a bug
c++
switch
1 Voto
2 Risposte
6th Jul 2022, 9:06 AM
Mr Sir
Can we create a multiple lines of prints in a single print statement like in other languages we use"\n"
python
0 Voti
6 Risposte
12th Oct 2016, 5:39 AM
sai
In this statement -> printf("Pi = %3.2f \n", 3.14159); /* Pi = 3.14 */ %3.2, 3 indicate what?????
c
c++
challenger
cprogram
helper
programmer
sololearn
1 Voto
1 Risposta
4th Feb 2019, 2:56 PM
Balu Soman
break statement let u come out of the for loop only...or is it applicable in the while and other loops also?
loops
0 Voti
6 Risposte
13th Sep 2019, 2:48 PM
palak srivastava
I typed the statement x<y, the code is running without errors. Output is showing x is greater than y.
c#
else-statements
if-statements
1 Voto
5 Risposte
14th Jan 2017, 2:57 AM
Chaaru Manjuraj
Using Java - Can I use a switch statement inside of an Object[] declaration to populate the object array based on player input?
array
declaration
games
java
objects
switch
7 Voti
4 Risposte
2nd Jun 2017, 4:02 AM
Mark Paramonte
Kotlin use of less than in when statement. How can I change the first in statement to a less than?
kotlin
less-than
when
3 Voti
1 Risposta
13th Dec 2022, 12:47 AM
William Owens
Using the break statement outside of a loop causes an error what's that means?
loops
python
0 Voti
2 Risposte
3rd Oct 2016, 12:42 PM
sarang tk
Is it not possible to output a statement and input value after that ?
c++
0 Voti
2 Risposte
12th Aug 2016, 1:09 PM
Reshma Kalkur
Can you explain this statement from diffie hellman lesson?? How this discrete logarithm calculated in this algorithm??
diffie
hellman
0 Voti
2 Risposte
25th Feb 2020, 9:13 AM
Arshiya Arshi
if return statement missing in the code it will be a logical error or syntax error ?
c++
0 Voti
4 Risposte
19th Jul 2017, 7:12 AM
MMN
In if statement ,if there is 1as condition,what would happen? And if contion is x&&y|| z what would happen
else
if
1 Voto
2 Risposte
11th Nov 2018, 2:10 PM
Kaviyarasan Gnanasekaran
If I put an argument with def statement then I don't need to call that function, do I? (Py)
functions
2 Voti
1 Risposta
17th May 2018, 1:28 PM
Tanzim Ikram Sheikh
Javascript help (Struggling) _learner
css
help
html
if
javascript
js
statement
0 Voti
15 Risposte
14th May 2019, 1:41 PM
Ginfio
Add a third println statement that prints cool below Java and is. Hint: Just type sys and use code completion. Hint: Just add an
aide
code
compiler
error
java
programstructure
0 Voti
8 Risposte
3rd Nov 2021, 3:42 PM
Sonam Kumari
what do i change in this so that it does not display the iteration. only the print statement in the end of the if branches state
#help
#thistookme1.5days
2 Voti
10 Risposte
26th Apr 2018, 9:07 PM
annie
why is the operands in the if statement when not equal evaluates to true...
c++
if-statements
0 Voti
2 Risposte
27th Jul 2016, 6:57 AM
stephen haokip
How do I do a loop that contains a "continue" statement with "String" variables?
java
0 Voti
2 Risposte
4th Oct 2016, 10:48 PM
Erik Tini
Can we perform some operation in 'if statement ' or is it used only for decision making!!
c++
if-statements
1 Voto
3 Risposte
4th Jun 2017, 5:30 PM
Sachin s
I don't understand why my Javas witch statement won't work & possibility of cases other than numbers in switch statements
java
orphaned-case
switch-statements
1 Voto
3 Risposte
26th Aug 2022, 2:00 PM
Iulia
My else statement course is not opening. I tried everything I could, it's in same way.
python
0 Voti
2 Risposte
5th Oct 2018, 4:13 AM
tanha tarik
I didn't understand The switch statement and multiple conditions in intro to java. Can you teach me this?
java
0 Voti
1 Risposta
24th May 2025, 8:56 AM
Glint
How to find that number is prime or not only just using if statement without else and without loop?
c++
0 Voti
2 Risposte
17th Nov 2019, 6:35 PM
Mubarak Hussain
Is method is calling method or Is method is calling itself ? What does the statement in the description says ?
python3
1 Voto
4 Risposte
9th Jun 2021, 8:17 AM
lisa
f x is 10, what are the values of x and y after the statement below is executed?
c
cprogramming
programming
0 Voti
3 Risposte
14th Sep 2021, 7:18 AM
Hanz Rosales
Help me with this java program please, not accepting any statement and I can't understand the reason
java
0 Voti
1 Risposta
28th Dec 2021, 5:02 AM
Sunil
in c program we write scanf statement .what we have to take in java to read the statement??
java
3 Voti
2 Risposte
27th Dec 2016, 11:40 AM
kavya
can a select statement bring the result of columns data from tables of different database?
select
0 Voti
1 Risposta
29th Jun 2020, 4:44 AM
SATHISHKUMAR P
How can I get a print statement governed by 'except: ' to print? I can't find what I'm doing wrong.
exceptions
input
python3
0 Voti
6 Risposte
24th Jul 2017, 5:35 PM
Anthony
Rather than the syntax what is the difference in use of if else statement and switch case?
c++
switch
2 Voti
2 Risposte
16th Oct 2016, 6:00 PM
Neha Bit
Make a one line Python statement that uses both sum and range to print the sum of the numbers 1 through 10
python,
range
0 Voti
4 Risposte
3rd May 2017, 9:03 PM
Tosin
can we get output of the string (text) also with the numbers for two variables in the statement 1 ?
javascript
loops
0 Voti
6 Risposte
19th Jul 2017, 6:27 AM
Selina Miraz
Input ten numbers and find total number of even and odd using goto statement
c++
-3 Voti
2 Risposte
11th Sep 2017, 7:54 AM
rishabh Singh
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
28
29
30
...
35
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Hello !
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes