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
Please guide me to final output. I'm stuck in a part where it should return 1 if i enter negetive arg or zero
c++
function-arguments
functions
sololearn
4 Votes
4 Réponses
4th Apr 2018, 6:28 AM
Ronald Mbanjwa
Why the output is 1211? How do we get 1 for the first output and why the values of y and z didn't change to 2?
c++
cpp
logic
3 Votes
9 Réponses
18th Jul 2018, 9:12 AM
Yelyzaveta Al-Dara
Hay que hacer un programa para una tabla de clasificación. El programa tiene que generar los números del 1 al 9, cada uno en un
porfis
-1 Vote
9 Réponses
20th Dec 2022, 8:04 PM
Daniel Marquez
How do I make a textbox value get updated each 1 sec (for example)?
html
javascript
php
0 Vote
2 Réponses
22nd Oct 2016, 10:09 AM
Jac1nto
What are Ways to fill in array with numbers from 1 to 10? In JavaScript
.push
arrays
for
0 Vote
2 Réponses
10th Feb 2019, 1:37 PM
Vaske
The output of program given in description is 1 and i m not able to understand why ? Plz explain it. Thank you
output
sololearn
2 Votes
9 Réponses
8th Sep 2017, 6:15 PM
Soham Nathani
What did i do wrong i fail 1 test and when i try separated it outputs 672 .Why?
cpp
0 Vote
1 Réponse
9th Oct 2022, 10:41 AM
Costy Game
How do i put another id to audio button?( Like it will function 2 elements in 1 button)
html
0 Vote
3 Réponses
27th Mar 2023, 1:38 PM
Zedro
When does our submission gets approved or declined . I have submitted 5 questions 1 month ago and they are not yet approved .
do
guys
help
5 Votes
5 Réponses
5th Nov 2019, 7:44 AM
Charu Sehgal
Can anybody help me i get this error in cmd while creating react app " found 1 low severity vulnerbility"
react
1 Vote
3 Réponses
26th May 2020, 10:10 AM
Mohammed Rameez
At a college cafeteria, 1 free meal is provided in a day to every student who has a valid gym card. An attendant at the cafeter
1
12
a
access.
an
at
attendant
cafeteria
cafeteria,
card.
characters.
college
day
deny
every
free
gym
has
his/her
if
in
in,
into
is
it
java
logged
login
meal
mobile
number
number,
of
once
provided
shall
student
successfully
system
the
to
using
valid
who
wrong
-2 Votes
6 Réponses
14th Mar 2022, 1:53 PM
kadewere john
Как сделать чтобы при выполнении одного условия не проверялось следующее и выводился только 1 результат а не 2 ?
java
1 Vote
3 Réponses
4th Jan 2021, 9:11 AM
limerboy
Mike's Challenge Series #1
1
challenge
code
mike's
pro
problem
programming
series
sololearn
3 Votes
13 Réponses
21st Oct 2017, 7:01 PM
Lil Machina
I need someone to help me calculate the sum of integers from 1 to 10 in java
java
0 Vote
2 Réponses
3rd Jul 2021, 9:12 AM
Chukscomax Nnadiekwe
In Python, if I print (1,000,000) then output comes like this 1 0 0 , please explain me why this output comes?
python
2 Votes
3 Réponses
8th Dec 2021, 5:34 AM
Ankita
i= int(input('Give me number!')) x = i + 10 nums=[ ] while i <= x: nums.append(i) i += 1 print(nums) Pls.e
python3
1 Vote
4 Réponses
24th Oct 2020, 2:04 AM
Sushil Mundhra
Дано вещественное число — цена 1 кг конфет. Вывести стоимость 1.2, 1.4, … , 2 кг конфет.
c#
1 Vote
1 Réponse
20th Mar 2018, 6:17 AM
Виктория
the sequence of this code if not 1 +1 ==y or x ==4 and 7 ==8
operator-precedence
python
0 Vote
3 Réponses
22nd Dec 2016, 4:07 PM
SealCLi
What advantage or disadvantage of writing program in 3 file structure in c++ than writing program in 1 file in c++?
c++
file
filestructure
2 Votes
6 Réponses
21st Jan 2017, 5:12 AM
Sa'ad Patel
I missed 1 question in a code challenge today. When using inline styling in HTML, do we call that style tag or style attribute?
codechalleges
sololearn
0 Vote
6 Réponses
8th May 2023, 9:48 AM
Ignatius F Kadziwika
In loops, anyone explain in details to me this line of code. document. write(i+ "<br>"); I understood the rest part just this 1
do
for
loop
while
2 Votes
8 Réponses
21st Sep 2017, 12:21 AM
Leonard Ojojo
Write a c++ program to compute the sum of square of odd numbers from 1 to n where n is a positive integer.
numbers
odd
of
Squares
7 Votes
2 Réponses
2nd Dec 2016, 5:58 PM
Baba Yunus Abdul Yekin
Why is queue a pointer variable in Queue Management assignment (parts 1 and 2) (C++)
c++
pointers
0 Vote
1 Réponse
30th Mar 2022, 5:59 AM
Paek Se
How can I upload more than 1 file in the code editor. For instance chat.js and bot.js in the JS tab...
files
multiple
sololearn
web
3 Votes
5 Réponses
30th May 2017, 8:57 AM
Vishnu ks
Can someone explain this, def fib(x): if x==1 or x==0 return 1 else: return fib(x-1) + fib(x-2)
dddvv
0 Vote
2 Réponses
15th Sep 2021, 5:25 PM
Izizi Abdul
how to print a number from 10 to 1. Using do while loop. But The Initial value shoudl be 1
c++
0 Vote
6 Réponses
11th Nov 2017, 4:26 PM
Abdul Wahab
Pls anyone help me to find mistake in my code its only printing if condition 1 nothing else
help
0 Vote
3 Réponses
24th Jul 2021, 7:55 AM
Shayan Bhattacharjee
How can I select more than 1 cell in a JTable java?? Is there a method for that?
java
0 Vote
3 Réponses
23rd Mar 2020, 9:47 PM
Victor Zuniga
What is difference between 1 and 2 and why I am not getting the output in case 2??
c++
-3 Votes
4 Réponses
7th Jul 2021, 8:44 AM
Shahir
How p4 is giving output 1 in this code can anyone explain this to me ?
c
0 Vote
1 Réponse
12th Aug 2020, 8:50 AM
Ayush Singh..
Please tell me what's the answer of last question of the challenge 1 in sql fundamentals
challenges
sql
0 Vote
1 Réponse
23rd Feb 2017, 2:20 PM
Kushagra Pankajrai Bothra
a number N is passed as input . Print the multiples of 5 from 1 to N (inclusive N) seperated by a space
loops
3 Votes
3 Réponses
20th Aug 2018, 1:26 PM
THARUN KUMAR M
in learning python3, there are projects after each module. I need help with 1 project, aka exponentiation, if necessary I will h
python3
1 Vote
4 Réponses
4th Nov 2020, 5:34 AM
Tipo Programmer
Could anyone explain me the output? i = 0 while 1==1: print(i) i = i +1 print("Finished") Output: 0 Finished 1 Fi
output
python
4 Votes
2 Réponses
19th Jul 2020, 6:40 PM
Dheeraj Mittal🇮🇳
Take a number N as input and output the sum of all numbers from 1 to N (including N).
pyhton
0 Vote
2 Réponses
3rd Jul 2022, 9:22 PM
VISHAL CHAUDHARY
Using return 0 or 1 or 2 to close main function giving same result why?
c++
2 Votes
1 Réponse
27th Oct 2017, 2:48 AM
Shubham Sharma
Why does one script starts with 0 and ends with 4 while the other starts with 1 and ends with 5
javascript
0 Vote
6 Réponses
16th May 2018, 10:50 PM
IZzZI
Reorder the code to declare a Queue of integers, add values 1 through 5 and print the contents of the Queue.
c
c#
c++
generics
order
0 Vote
2 Réponses
8th Oct 2019, 10:54 AM
Atharva mali
list = list(range(101)) i = 0 while i <= 100: m = i%2 if m == 0: index = list[i] print(index) i = i + 1
loops
while
1 Vote
9 Réponses
16th Apr 2019, 5:56 AM
ALBERT SAURAV
I got the test case 1 positive yet am not still correct ...how is that possible
help
machine_learning
pyton
0 Vote
2 Réponses
3rd May 2022, 10:24 PM
Emeku Abel🇳🇬
I want to count the number of prime number from 1 upto the input number. Can't figure out what's wrong with my code.
java
0 Vote
6 Réponses
27th Dec 2019, 3:27 PM
Sayeef
I want this code output in this form 2 * 1 , 2* 2 and How can I do this?
answerme
-1 Vote
4 Réponses
12th May 2019, 1:10 PM
Anuj Raghu
can we get output of the string (text) also with the numbers for two variables in the statement 1 ?
javascript
loops
0 Vote
6 Réponses
19th Jul 2017, 6:27 AM
Selina Miraz
Why 1 is added with (rand()%range) ? And why do we use module % between rand() and range ?
cpp
1 Vote
2 Réponses
3rd Jul 2022, 12:11 PM
Aftab Qureshi
Repeat the Die Roll n times and suggest which number between 1 and 6 fall maximum number of times.
python3
1 Vote
2 Réponses
24th Jan 2020, 4:15 PM
Prithvi
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 Vote
8 Réponses
3rd Jan 2021, 7:22 PM
Jay Scott
Why the size of empty class is 1 byte but the size of empty structure is 0 bytes
c++
classes
objects
sizeof
struct
1 Vote
3 Réponses
8th Jan 2017, 5:36 AM
Saksham Jain
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 Vote
4 Réponses
3rd May 2017, 9:03 PM
Tosin
Somebody says that java is gone after sometime and in future python is no 1 programming language, that is how much true.
java
python
4 Votes
4 Réponses
22nd Mar 2018, 10:04 PM
Girish Patel
how to code for g.c.d of 2 numbers? like g.c.d of 12 and 67 is 1
python
tuples
1 Vote
2 Réponses
20th Sep 2016, 10:16 AM
AKHILESH VVN
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
30
31
32
...
41
Suivant >
Aujourd'hui en vedette
How many days will It takes to completely learn front end
4 Votes
SQL
3 Votes
JAVA PROGRAMMING
2 Votes
HTML/CSS questions
0 Votes
Solution to solving this bugged problem
2 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
member initializer list : order of evaluation
0 Votes
How can I continue with my goal if I lost all my lives?
0 Votes