Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Make a program that take N as input and calculates the sum of all consecutive number from 1 to N inclusive.
you
-1 Vote
2 Réponses
11th Sep 2021, 7:32 PM
elly paul
3 nos are input. Output will be 1 if 3 nos can form a triangle or else output 0.
include
0 Vote
3 Réponses
9th Sep 2018, 10:35 AM
Nilutpol Kashyap
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 Vote
7 Réponses
23rd Aug 2018, 1:53 PM
hoirun
Need help i just don't understand why this codes output is 1 3 6 10 15 21 can anyone explain
recursion
1 Vote
1 Réponse
1st Sep 2022, 3:39 PM
Powfu Powfu
Why does this output 1, even if i set it's "index" value to anything above 1 or 2?
javascript
loops
0 Vote
2 Réponses
20th Aug 2019, 7:46 PM
Henry Hefler
int main () { for (int x = 1; x <= 10; x++) { cout << 1 + (rand() % 6) << endl; } }
rand
0 Vote
6 Réponses
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 Réponses
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 Vote
5 Réponses
27th Oct 2023, 12:43 PM
Adrian Cilindro
a = 6 while a >=2: print(a) a -= 1 b = 6 while True: print(b) b -=1 if b <=2: break
python3
0 Vote
2 Réponses
30th Oct 2020, 12:49 AM
Sushil Mundhra
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 Réponses
16th Jun 2019, 1:24 PM
PRAVEEN R
please explain why / * 1 * / is hidden for what it is not shown in the line
c++
comments
1 Vote
3 Réponses
12th Feb 2018, 6:28 PM
Scvidvard
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 Réponses
28th Sep 2019, 7:13 PM
Σ🅰️μΥ
Make a function which takes a character. If the character is a digit, output 1 and if English alphabet then output 0.
c
function
1 Vote
3 Réponses
15th Dec 2021, 7:24 PM
M Samiul Hasnat
How to make ? if me press the button (cal) , (input 2) is automatically filled with data ( input 1 ) 🙏
javascript
0 Vote
4 Réponses
18th Aug 2022, 1:50 PM
Zulpakar
How can we print number 1 to N without the use of looping and recussion in python 3
code
codeplayground
loops
python
python3
1 Vote
2 Réponses
4th Nov 2017, 8:16 PM
Prashant Mishra
Write a program that'll multiply the sum of 5 and 6 by 10 and output the result. 1
is
that
-4 Votes
1 Réponse
18th Jan 2022, 2:42 AM
gaming killer
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 Vote
5 Réponses
7th Dec 2019, 11:49 AM
Gabriel Arguelles
Why isn't my code printing 5 and going up 1 each time until it is 10?
java
programming
0 Vote
2 Réponses
26th Jul 2017, 9:06 PM
Whitehat
А если в базовом классе не 1 конструктор, то какой вызовется при создании объекта производного класса?
c++
inheritance
0 Vote
2 Réponses
19th Oct 2017, 12:35 PM
Алексей Закурнаев
Given x and y as input. Print all the power of x from 1 to y.
1 Vote
1 Réponse
17th Feb 2018, 2:00 PM
Roshan Kumar
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 Vote
6 Réponses
9th Jun 2021, 8:03 PM
DN Josh
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 Réponses
28th Apr 2017, 3:12 AM
Min Somai
How to write code for create a list which contain all the prime numbers from 1 to 100.
no
-2 Votes
2 Réponses
25th Jun 2021, 9:51 AM
Prabodh Gupt
Write a Program to find the longest positive sequence in array.For eg-> Input -> 1 2 -4 6 7 8 9 -5 3 Output -> 6 7 8 9
c++
0 Vote
12 Réponses
7th Jul 2017, 5:17 PM
Rashi Walia
What is the output of this code? num = [1, 2, 3, 4] x = 1 for i in range(0, len(num)): x *= i print(x) by #RahulVerma
python
0 Vote
4 Réponses
30th Dec 2022, 9:13 PM
Bilge Tandogan
Will it be a good idea to have only 1 languages that can be used everywhere?
anywhere
progamming_languages
0 Vote
2 Réponses
26th Dec 2017, 4:07 PM
Arjun Porwal
My code is simple. 1 test case is running. The other one is not showing any output. Please help please 🥺🥺
javascript
node.js
0 Vote
2 Réponses
4th May 2021, 2:54 PM
Swastik Mukherjee
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 Vote
3 Réponses
10th Oct 2021, 1:44 AM
Cheang Zi Yi
Take a number N as input and output the sum of all numbers from 1 to N (including N).
1
all
and
as
from
input
n
number
numbers
of
output
sum
takea
the
-2 Votes
2 Réponses
1st Sep 2022, 3:59 AM
Anuj Dubey
Want to print numbers from 1 to 10 using for loop in python, without any spaces and new line.
for
loops
python3
0 Vote
2 Réponses
3rd May 2018, 6:29 PM
Çůřîöş ßąšäñț 🇮🇳
Im stuck here can anyone help 😭😭 function is a perfect square, which a given integer n, returns 1 if n is a perfect square.
c++
2 Votes
2 Réponses
30th Nov 2018, 3:32 AM
Notorious.mimi
Why does not my code work as the the one provided??( in terms of printing the value 0 1 2 3 ...like that ....check the code pls)
html
javascript
1 Vote
7 Réponses
4th Mar 2019, 7:49 PM
[ ]
While in playground, whenever I run the code it says uncaught sytnax error line 1 and stuff, what is that?
javascript
1 Vote
2 Réponses
31st Jul 2016, 4:15 PM
Ali Zeynalzade
To find primes, why do i need to specify a range from 1 to the input number +1. Why +1
python3
0 Vote
2 Réponses
19th Apr 2019, 5:38 PM
Desi
Which one is faster?? Printing numbers say from 1 to 100 in forward order or reverse order using a for loop??
c
2 Votes
3 Réponses
17th Jul 2017, 7:43 AM
Jashua Paul
how do i access quiz factory on computer
1
2
3
4
1 Vote
1 Réponse
12th May 2020, 6:51 AM
Ahmed
Paint cost problem: iam failing only test number 3 test 1 2 4 5 are ok can anyone tell me whats wrong in my code
codecoach
costs
paint
python3
1 Vote
3 Réponses
18th Apr 2020, 11:31 AM
Abdul Majeed Faraz
When using the "cin >>" code, can the sololearn compiler allow for more than 1 time of detail entry?
cpp
0 Vote
3 Réponses
26th Sep 2018, 9:44 PM
Tom Eckert
I don't understand why my program executes both case 0 and case 1 when N =0 is entered by user
beginner
c++
fibonacci
switch
0 Vote
3 Réponses
20th Apr 2018, 2:12 PM
Jules SG
I didn't understand the part about initializing more than one value in statement 1 of 'for' loops. Any help is appreciated
loops
2 Votes
3 Réponses
8th Feb 2018, 9:46 PM
Ted Ariaga
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 Réponses
9th May 2023, 7:44 AM
Shubham Swaraj 161
write an application that reads a number in inches converts it to meters . note : 1 inch =0.0254meter sample output input value for inch:1000 1000.0 inch is 254 meter
java
0 Vote
11 Réponses
20th Mar 2017, 5:20 PM
Khulud Al-slman
I am new to this can somebody suggest me which are the courses i should start 1 and 2 and 3 and.......
all
3 Votes
3 Réponses
23rd Jul 2017, 11:33 AM
Aseem Gupta
Why does my sum not summing up things? It's just showing 1, that is value of 1/b.
1
do
help
please
series
sum
while
1 Vote
11 Réponses
19th Jul 2018, 11:58 AM
Parth Salat
How datas are stored?can anyome explain how it works.. i got output as 100.. but i expected 1
python
1 Vote
2 Réponses
15th Mar 2017, 11:29 AM
Abin Singh R
Hi sololearn friends i am totally a biginer on web design i love it but lately i found some issues just like the 1 am gone ask..
css
html
issues
sidebar
submenu
webdesign
1 Vote
6 Réponses
22nd Sep 2020, 8:37 PM
Eyob Kurabachew
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 Vote
5 Réponses
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 Réponses
16th Dec 2020, 2:30 PM
Mas'ud Saleh
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 Réponses
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 Réponses
4th Jul 2022, 2:04 PM
Claire
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
33
34
35
...
41
Suivant >
Aujourd'hui en vedette
I am beginner,This is will be right code?
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
Kernel in Jupyter
2 Votes
How many days will It takes to completely learn front end
4 Votes
Solved# Survey data format in coding for data
1 Votes
SQL
2 Votes
Solution to solving this bugged problem
2 Votes
JAVA PROGRAMMING
1 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes