Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Write a c program to output even numbers between 1 and 50 using do ..while loop?
c
-4 Votes
2 Answers
11th Mar 2018, 3:01 PM
Sheldon Anyenda
While using Order by for more than 1 column which column will get priority while sorting?
sql
0 Votes
1 Answer
1st Jun 2018, 1:23 PM
karthick shanmugavelu
Can i copy data from 1 file to another by using stream classes in solo learn???
stream
0 Votes
1 Answer
4th Sep 2018, 1:52 PM
Nick
Why the ouput differ from 1 2 then 3 4 in another line and so on?
html
tables
1 Vote
1 Answer
5th Jun 2017, 3:34 PM
Avi Tiwari
Can't any other integer beside 0 and 1 begin the iteration process of the While loop?
c++
loops
0 Votes
1 Answer
28th Apr 2017, 7:06 PM
Yemi Ayinla
A program to illustrate the use of functions to add all numbers from 1 to 100
c++
1 Vote
1 Answer
29th May 2017, 9:57 AM
chamaliakhan
help how to convert numbers to words using array? even numbers only upto 1 million help
java
0 Votes
1 Answer
11th Oct 2017, 5:57 AM
Daphnyzyb Pelaez
When running this it prints 4... But here a is a char then why it doesn't print 1
c
0 Votes
1 Answer
1st May 2020, 9:39 AM
Muralikrishnan
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
How can I write code to request lots of data from an API with a limit of 1 query per second? Should I use a loop and setTimeout?
api
java
javascript
mysql
python
python3
ruby
scripting-languages
sql
0 Votes
7 Answers
15th Aug 2020, 11:05 PM
Rhea
Is it necessary to write h1 only or we can write else than 1 like 2, 3, 33 etc.
javascript
0 Votes
2 Answers
4th Feb 2019, 2:58 PM
anamta ali
I would like to know how to use an interval in the switch loop. For example take age between 1 and 9 using the switch loop.Thank
help
0 Votes
8 Answers
22nd Nov 2017, 8:50 PM
SEDGO Prosper
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
Is it necessary to write multiple lines of comment when we use multi line comment code? Can we write 1 line comment in /* */?
comments
1 Vote
3 Answers
18th Jun 2018, 7:15 PM
Prabhat Rai
I need to write a program to Take a number N as input and output the sum of all numbers from 1 to N (including N).
forbeginners-
python
0 Votes
4 Answers
27th Jan 2022, 6:26 AM
Artin !!!
I have to print square matrix from 1 to n² anticlockwise direction starting from center, idk why it is printing 0.
arrays
java
0 Votes
2 Answers
5th Sep 2022, 2:54 PM
Kishan Khanna
Pls help code a program to print the numerals 15 to 1 on screen. Use a loop to control the printing
c++
0 Votes
3 Answers
2nd Dec 2021, 8:17 AM
Naziru
In d below program the Output will come as 2 3 1 100 how it vl come can anyone explain? how d sop Statement work here?
java
1 Vote
7 Answers
2nd Sep 2016, 2:56 PM
suji prem
Use a loop to calculate the sum of all numbers that are a multiple of 3 in the range of 1 to 1000. A number is a multiple of 3
12.2
r
0 Votes
3 Answers
30th Dec 2021, 5:59 PM
Hector Torres
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line,
python
0 Votes
3 Answers
26th Sep 2022, 4:10 PM
Nupur Trivedi
C language pattern solving 1 2 0 2 3 0 0 0 3 4 0 0 0 0 0 4 5 0 0 0 0 0 0 0 5
modification
needed
0 Votes
5 Answers
8th Jul 2020, 8:50 AM
Suman Singh
what if we put return 1 in main function eg int main () { • • • • • • • • return 1; }
c++
1 Vote
6 Answers
21st Jun 2016, 8:53 AM
Tushar Chetan
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
1 imp factor for beginners is to grab the skills by a relevant job. But money is the barrier, ppl have irrlevent jobs. Solution?
carrier
jobs
professions
programming
1 Vote
3 Answers
29th Mar 2018, 5:56 AM
Musaddiq manzoor
#include <iostream> #include <string> using namespace std; int main() { char *p= "this"; p+=2; char c= 1 + *p; cout <<c;
c++
code
0 Votes
4 Answers
3rd Jul 2017, 5:09 PM
Kushagra Agarwal
I really do not understand what 3 1 3 has to do with the document and how we arrived at it. Can someone help me understand that, please?
dom
javascript
6 Votes
5 Answers
15th Jul 2016, 11:41 PM
Lawrence Ainetor
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
How do I make the button go to the google page when I write 1 in the textbox?
javascript
0 Votes
1 Answer
7th Dec 2018, 12:39 PM
Bahaa Elboraey
How can I create a python loop that will print 1 to 5 and in between each printed number there will be a decoration like(==)
@
arraylist
1 Vote
3 Answers
25th Jan 2022, 11:51 PM
David Boateng
Why doesnt the file extension code in module 1 lesson 4 of JavaScript work in the text editor i use (atom)
html
javascript
1 Vote
2 Answers
11th Sep 2018, 1:05 PM
Kitan Lawal
1) A new animal has come in, with the following details: name - "Slim", type - "Giraffe", country_id - 1 Add him to the Animals
sql
-3 Votes
4 Answers
14th Sep 2022, 4:42 AM
Mohit Namdev
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.
One of the following 10 statements generates an error. Which one? (Your answer should be a number between 1 and 10.)
basics
python
0 Votes
3 Answers
12th Feb 2018, 9:35 AM
darshan ks
#include <iostream> using namespace std; int main() { cout<< "Alcacer 2 goals, CR7 1 goal"; cout<< "CR7 is old like Chi
c++
variables
1 Vote
3 Answers
8th Nov 2017, 10:27 AM
EGENTI PRECIOUS C.
It's not enough to practice coding 1 hour a day if you want to become master ! Are you agree?
code
programmer
sparetime
working
0 Votes
3 Answers
21st May 2017, 4:52 AM
DNABIRONG
This program is based on C++ and the output is [ 0 1 0] how to Z's value 0 ?
c++
3 Votes
1 Answer
10th Sep 2017, 6:49 PM
Anuj kumar
I am getting an error in UE 4.19.0 it was also in 4.18.3. Hexadecimal value0x00 is a invalid character line 1 position 1.
unrealengine4
1 Vote
4 Answers
17th Mar 2018, 12:58 AM
Comedy Co.
Hi guys.... What am I missing on my code.i want to return 1 if all the numbers are divisible by two and return 0 if not all
divide
1 Vote
7 Answers
27th Feb 2017, 4:30 PM
Ricardo Chitagu
Isn't the line 1 and line 4 means the same that is in *ptr and hello both contain manash so why hello runs but *ptr doesn't?
c
0 Votes
4 Answers
3rd Nov 2021, 11:03 AM
Manash Anand
Make a program in C++ of even number from 50 to 0 and odd number from 49 to 1
c++
-1 Vote
2 Answers
3rd Dec 2021, 4:29 AM
Abdul Basit Khan
How do i confirm if a number is dividble by 2 over and over and the answer is 1
c++
math
1 Vote
2 Answers
23rd Oct 2017, 12:24 PM
Berke Aslan
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
How can I write a program that take a n(a positive number)as input,make n×n list then return the 0 and 1 into spiral.
python
0 Votes
3 Answers
3rd Jan 2020, 10:16 AM
fatemeh salmani
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
In the problem Paint costs i wrote this code. Is there any error as it shows 1 case has failed.I don't understand pls explain
codeplayground
interpreter
python3
2 Votes
2 Answers
14th May 2020, 3:44 PM
Ayushman Dash
Please, can somebody explain to me why this prints a list with both 1 & 2 in it instead of just 1in the list?
python3
0 Votes
2 Answers
6th Apr 2019, 4:31 AM
Thimira Rathnayake
How can I make my first Java code work? I'm only level 2 but I want to make a countdown from 5 to 1 with an exclamation.
2
countdown
if
java
level
statement
string
0 Votes
5 Answers
23rd Mar 2020, 3:29 AM
Johnna Boots
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
34
35
36
...
41
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
I’m new someone can help me
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes