Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
how do I do that if I pass by a parameter 50, I get a random number between 1 and 50?
java
1 Vote
3 Answers
26th Sep 2017, 1:16 AM
Anthony
efficiency of algorithm is 5n^2 if a step in this takes 1 nanosec, how long does it take algorith to process input of size 1000
python
0 Votes
2 Answers
27th May 2019, 7:18 PM
Rehma Manal
How I can make a list or some type of this from 1 to 50 to don't write all 1,2,3,4...
lists
python
range
1 Vote
2 Answers
28th Jun 2016, 5:08 PM
Xenonium Oxygen
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 Vote
3 Answers
4th Jul 2017, 9:18 AM
Alexandre Sherozia
Porque es que el resultado puede cambiar usando x++ o ++x pues no veo alguna diferencia solo aumentan al valor en 1
++x
c#
x++
0 Votes
3 Answers
6th Dec 2020, 12:41 AM
Marcos Daniel Ruiz Rodrigues
I'm using multiple button in LinearLayout for Quiz but on 1 only button should be clickable or disabled in same layout.
android
button
java
0 Votes
2 Answers
7th May 2020, 9:54 PM
Gorishankar
kindly explain.When n<=2 ,the answer is 5 ,but when n<=1,answer is 3. While n=n%5 so 9%5= 4. While 4 is bigger than both 1 and 2
def
return
1 Vote
7 Answers
25th Jun 2022, 11:42 AM
Tafseer Ahmad
write a program to display month name ranging from 1 to 12 in java where n is read from user
java
1 Vote
1 Answer
27th Oct 2018, 12:37 PM
Zain Ali
What will be the output of the following pseudocode? Multi Choice Type Question Integer a,b set a= 3, b= 1 for (each c from
be
choice
following
of
output
pseudocode?multi
the
the
whatwill
0 Votes
2 Answers
18th Feb 2022, 6:13 AM
N.RAGAVENDRA
Suppose i have a code and i run more than 1 time ,every time i am getting different running time why?
running
time
0 Votes
2 Answers
27th Mar 2018, 2:07 PM
Bahubali
Guys can someone help to solve a question
1
24
60
a
day
hour
hours
in
seconds
thereare
-4 Votes
6 Answers
2nd May 2021, 9:46 AM
Eldor Nasritdinov
This is ternary operator 1st condition is true i=0 and true value is 1 but why the output show 3 . Explain?
cpp
sololearn
0 Votes
3 Answers
16th Sep 2020, 12:08 PM
Suparna Podder
Besides holding more than 1 million rows, what are the main advantages of SQL databases compared to Google spreadsheets?
databases
excel
mysql
spreadsheet
spreadsheets
sql
tables
0 Votes
1 Answer
25th Mar 2017, 3:27 AM
Emilie Wolf
Write a program using for loop that finds the sum of squares of the integers from 1 to n.
c++
0 Votes
1 Answer
3rd Apr 2017, 2:08 PM
Tehreem
Ineed a program with c++ language to 1 organized file (write and read) and insert and search with index
answer
comments
writecode
0 Votes
1 Answer
5th Aug 2017, 3:18 PM
Alfatih Bashir(habar)✌
Explain how: if not True: print("1") elif not (1 + 1 == 3): print("2") Gives the output as 2
boolean-logic
python
0 Votes
1 Answer
26th Oct 2016, 2:31 PM
Brave
I have a one big problem... Create a 1 java program for logically... Any java expect please help me!!!
java
javaproblem
-4 Votes
2 Answers
7th Sep 2021, 12:43 PM
VIGNESH S
How many days are required to learn basics of CSS, if I devote 30 mins or 1 hour per day to it, on average?
css
css3
designing
html
html5
self-learning
sololearn
studies
web
1 Vote
3 Answers
28th Sep 2019, 7:13 PM
Σ🅰️μΥ
Here the output is 0, but why not 1 ? is the scope of variable 'a' ends with the method ..?
increment
java
methods
0 Votes
2 Answers
14th Dec 2018, 4:43 AM
Sharief
How to make this calculate properly (I'm starter) example: when you input in 1 and 5 I want to be 6...not 15
javascript
1 Vote
2 Answers
9th Aug 2019, 11:03 PM
Stefan
Learning python...what's similar that will also help. Perhaps c++ or will that only confuse me learning more than 1 at a time?
helpwithpython
python
4 Votes
1 Answer
14th Mar 2018, 4:23 AM
Adelina T.
Your robot can recognize your emotions marked with number that represents each of them: 1 - You are happy! 2 - You are sad! 3
none
3 Votes
2 Answers
6th Dec 2021, 4:13 AM
riddhi malviya
How can I create a program that allows the user to input any name and the system will automatically choose 1 name from it.
c
0 Votes
5 Answers
7th Dec 2019, 11:49 AM
Gabriel Arguelles
How do you write a program to take N numbers as input and output all even numbers from 1 to N inclusive, each on a new line.
#help
0 Votes
8 Answers
3rd Jan 2021, 7:22 PM
Jay Scott
Why is my navigation menu hiding under the header bar? I want it to come just after the header in a 1 column display.
css3
footer
header
html5
nav
0 Votes
6 Answers
9th Jun 2021, 8:03 PM
DN Josh
how can I break a line as line 1 & line 2 of address column while inserting values in table ?
insert
sql
tables
-1 Vote
4 Answers
8th Jul 2016, 2:58 PM
Mohan pochampalle
Random int generator + if / else if / else ) 1 through 5 . .. always returning false .. why??
if-statements
math
-1 Vote
4 Answers
23rd Feb 2017, 5:04 PM
Sonny mbiam
There is really a difference when using the lLIMIT condition in this format lLIMIT 1,2; and this LIMIT 1 OFFSET 2; ?? Plz help !
mysql
sql
1 Vote
6 Answers
30th Mar 2020, 3:22 PM
kamel BOUHENNI
pls help me understand this code and how did i get 1 as answer.if i edit vue of y result is 0
c++
0 Votes
4 Answers
27th Jun 2017, 4:58 PM
Anonymous Guy
Why is my code of finding and listing all prime numbers from 1 to z (where z is the input number) not working?
c++
0 Votes
2 Answers
22nd Jun 2021, 6:10 AM
Aprameya S
What is the difference b/w java & JavaScript? Which 1 is better? Which 1is more used today? Why Stanford replaced jav by jascrip
bettercode
java,
javascript
require
stanford
2 Votes
4 Answers
30th Apr 2017, 6:11 PM
sr gupta
I m a begginer so plz tell me something about how can i learn C language with in 1 month ? Please...
c
c++
0 Votes
4 Answers
30th Jun 2017, 5:06 PM
khantil sanghani
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line
asking
0 Votes
3 Answers
10th Oct 2021, 1:44 AM
Cheang Zi Yi
Which IC transmitter will have thesame signal of my drone receiver number--BK2423 in F4 in 1 circuit ( its racing drone)
ic
-1 Vote
2 Answers
28th May 2021, 11:48 PM
Ibrahim Idris Ibrahim
I want to lock from upgrade 2 and more so you cant bypass the upgrades. Also sometimes without buying upgrade 1 you can go -neg.
class
dom
id
js
0 Votes
7 Answers
23rd Aug 2018, 1:53 PM
hoirun
Hi. I will be grateful if someone help me with this.
1
help
last
module
project
pyton
0 Votes
6 Answers
20th Feb 2022, 12:13 PM
Keilly Pajaro
int main () { for (int x = 1; x <= 10; x++) { cout << 1 + (rand() % 6) << endl; } }
rand
0 Votes
6 Answers
17th May 2020, 9:29 AM
Salini Selvam
I need help on this code, it is for for password validation problem in code coach, 1 out 13 code tests failed ( number 8)
collections
2 Votes
3 Answers
28th Apr 2020, 9:18 PM
Oyedeeoke
Hello can anybody help me in fitness goal problem, I conduct this from python whoever the case 1 only error when a run the code.
python
0 Votes
5 Answers
27th Oct 2023, 12:43 PM
Adrian Cilindro
error !!! please ignore approach 1 , fix me approach two , I am trying to make a palindrome checker !!! code in description
codefix
error
help
java
javastrings
strings
1 Vote
3 Answers
9th May 2023, 7:44 AM
Shubham Swaraj 161
1 2 3 4 5 next line 6 7 8 9 next line 10 11 12 next line 13 14 next line 15
python3
0 Votes
3 Answers
23rd Feb 2020, 6:30 AM
Avinash
In C minimum number of times for, while,do while loop runs is 0 . But In C++ minimum count of loop runs 1 how ?
c
c++
loops
2 Votes
3 Answers
16th Jun 2019, 1:24 PM
PRAVEEN R
Can someone please help me making a program that takes two values(int) identify which is smaller and add 1 in it and show it?
c++
0 Votes
5 Answers
11th Nov 2019, 6:57 PM
Muhammad Abdullah
Hello. How can I write a program in python to print a sum of a range of number like from 1 to 10 please?
python3
1 Vote
2 Answers
16th Dec 2020, 2:30 PM
Mas'ud Saleh
I can't open the 13 module 1 quiz in basic. I can unlock the other module only if i complete the 13/13 in basics.Can anyone help
3
python
1 Vote
6 Answers
9th May 2020, 7:59 AM
Radhin CazrOd
I dont understand what happends when theres 2 for loops inside 1 statement can anyone explain? I tried to work it out but still.
for
loop
2 Votes
5 Answers
9th Aug 2017, 11:46 AM
D_Stark
sum of all numbers that are a multiple of 3 in the range of 1 to 1000 , by using a loop, please help🙏
r
sum
1 Vote
4 Answers
4th Jul 2022, 2:04 PM
Claire
Hi everyone i want do display hello every time i type 1 in my program,What is the required codes for that?
java
-2 Votes
3 Answers
14th Oct 2020, 7:54 PM
Hayabina
How to print all the prime numbers from 1 to 10 and from 3 to 5 or n to m which will be input "testcase" times?
c++
in
plz
send
2 Votes
7 Answers
21st Nov 2018, 8:24 AM
The Coder(Abeer)
Lets say a Genie came to you and asked you to choose 1 programming language to make you world class in. Which would you choose?
expert
myfavlanguage
programming
7 Votes
3 Answers
28th Apr 2017, 3:12 AM
Min Somai
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
34
35
36
...
41
Next >
Hot today
What's the best way to learn anything
3 Votes
Most asked!
4 Votes
Is there Any other Simple Solution??
1 Votes
Is react js enough for frontend??
0 Votes
Most asked! 2.0
2 Votes
Inquiry on how to start html
1 Votes
How to get known?
0 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes
Computer Science
1 Votes