Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Table from 1 to 10 finding some error in output it it's priting some useless numbers between 1-3 instead of printing 2. Solve it
c
0 Votes
2 Answers
23rd Sep 2022, 3:11 PM
Venom
Get n list and compare the values inside if the numbers are same then you have to count 1 if not then return -1
c
java
python3
0 Votes
2 Answers
24th Aug 2022, 1:21 PM
pooja balamurugan
R language wap to print the number from 1 to 100 and check that they are divisible by 3 and divisible by 5 and divisible by both
r
-2 Votes
5 Answers
11th Sep 2022, 7:09 AM
Abhishek
Write a C program that reads List 1 & List 2 from files, computes List 3 and writes to a file.
c
c++
java
2 Votes
1 Answer
21st May 2017, 3:50 AM
Farooq Khan.S
For the last else statement... how can I make the program run again after it asks to enter 1 or 2 ...
c++
else
statement
0 Votes
3 Answers
14th Apr 2017, 6:28 PM
Luke Mai
how can i link from one file html to another, if im using phone, i mean, i create 2 file html, then from 1 to other file thanks
link
1 Vote
2 Answers
8th Aug 2021, 10:29 AM
anis
Please, explain why num 1 = num also, why m = m *10 + num%10 and num/=10 ? See below program
java
0 Votes
2 Answers
9th Dec 2016, 1:59 PM
Varun Singh
[SOLVED] How is it 0 here? I thought it must be 1 cause they look the same each other. Is the problem length of the strings?
c++
cpp
output
string
0 Votes
2 Answers
11th Sep 2021, 10:37 PM
mesarthim
who can help : menu with 2 options: 1 log in and 2:change pasword,if introduce pasword 3 times wrong program will close
c#
1 Vote
2 Answers
11th Dec 2016, 9:06 PM
Lawrence BTL
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
Why we can define the font weight property with a number from 100 (thin) to 900 (thick) and not 1 to 100 ?
code
css
css3
help
html
html5
web
1 Vote
1 Answer
17th Jan 2020, 9:36 PM
Ambitious Coder
In C++ I want to take input 1 for even number output and input 2 for odd number output. How I limit input to user.
cin
cout
for
int
while
0 Votes
4 Answers
31st May 2017, 5:23 PM
Umair
how can i write 1 times 1, 2 times 2 , 3 times 3 in page with for loop? for example (1223334444)
c#
c++
1 Vote
2 Answers
8th Sep 2017, 8:48 AM
Oğuz Güven
Write a boolean expression that returns True if tge value of the variable count is between 1 and 10 inclusive
cpython
python
0 Votes
2 Answers
1st Oct 2017, 12:41 PM
Kwabena Dennis
Hi coders...M stuck here.. I want this code to return 1 if an element in the array has exactly one non zero neighbor. Like arr1
arrays
java
0 Votes
4 Answers
8th Apr 2017, 6:08 AM
Ricardo Chitagu
I’m trying to do the zip code validator code coach. My code works for test cases 2-5 but not for 1 and 6. Please help!
codecoach
python
0 Votes
2 Answers
7th Oct 2023, 3:12 AM
Josh Rhodes
Let's say you have a list of N+1 integers between 1 and N. You know there's at least one duplicate, but there might be more.
c++
java
python
sololearn
2 Votes
2 Answers
14th Nov 2017, 6:59 AM
SaiKumar
You need to calculate the points earned by a soccer teamThe team won 18 games and ended 7 games as a draw.A win brings 3 while 1
python
0 Votes
2 Answers
4th Mar 2022, 5:46 PM
Ajitkumar Singh
How can it be infinite if there stayed while 1 == 1: Because after first time "i" would be 2 and it's not any more while true: ?
loops
0 Votes
4 Answers
5th Nov 2018, 12:52 PM
Benzema
How to Convert This C# Code Into Python Code?
1
c#
code
csharp
memory
python3
sololearn
0 Votes
1 Answer
30th Nov 2020, 10:36 AM
Haikal Dz
Why we write as 'return 0' at the end of the code? Even though I write as return 1 or return 100 or return 1000 it gets executed
c++
2 Votes
4 Answers
13th Oct 2017, 4:18 PM
Manikanta
i created a programe for printing all prime no between say 1 to 100 now i want to store all that in an array,how to do that?
c++
0 Votes
5 Answers
10th Aug 2016, 6:43 PM
Tarun kumar parashar
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line, follow
answer??
-3 Votes
3 Answers
20th Aug 2021, 6:11 AM
Yogeshwaran A
We can overload + operator. But how is it possible in case of ! Operator? It just converts logical 1 to 0 or vice versa.
c++
operator-overloading
0 Votes
4 Answers
4th Aug 2017, 8:19 PM
Bhavesh Mahale
Why the below code is showing the value of x as 16 however it should be 1 similar to the y. Please help me.
c
1 Vote
1 Answer
21st May 2019, 5:46 AM
Gurvinder Singh Maanak
int a[][3] = {1,2,3,4}; int (*p)[3] = a; printf("%d ",*p[0]); p++; printf("%d",*p[0]); O/P = 1 4. HOW POINTER ASSIGNED ABOVE 3?
c
pointers
0 Votes
1 Answer
3rd Jan 2021, 10:38 AM
Gogul
Actually more of a comment about lesson 1 of the Content Models section. Is there a different place to post comments?
dom
html5
semantic
0 Votes
2 Answers
9th May 2017, 8:20 PM
Nathan Wood
How can Plot the graph of INR exchange rate against EUR from 1 Jan 2019 to 31 Jan 2019 in java got confused
https://www.sololearn.co
0 Votes
2 Answers
19th Jul 2020, 9:35 PM
Vaibhav Dhale
why does the random.randint(1, 6) produce the no. 6? i thought it would only produce no. from 1 to 5?
modules
python
0 Votes
2 Answers
27th Oct 2016, 12:45 AM
Jiggy Barcelona
In c++ how do i build up variables for 1 letter and then when i have that letter as input it should pick one of the variables
c++
0 Votes
3 Answers
23rd Jun 2020, 6:00 AM
C0D3 BU113T
I want to create a program which will count number like 1 and then 2 and then 3 when user click the button every time.
javascript
0 Votes
2 Answers
18th Jul 2019, 3:27 AM
Noor
I want to learn asp.net from scratch anyone have any advice or website/video that can help me , I have 1 week before my intervie
asp.net
0 Votes
2 Answers
5th Jul 2021, 4:28 PM
Dev Gajjar
As a result of finishing "back to school", there was an offer of 1 month trial includes, does anyone know how to recall it?
trial
0 Votes
1 Answer
4th Sep 2020, 7:33 AM
Naser
Can I create 2d or 3d matrices just by declaring it's elements one by 1 in loop like a[i][j] by looping I and j? (In python)
lists
2 Votes
2 Answers
25th Dec 2017, 4:17 AM
Shreyas Ganapathï
when generating randomly 2 numbers in c++ between 1 and 3 what i have to do if i don't want the first nb to be == second nb
c++
0 Votes
3 Answers
8th Dec 2020, 9:21 AM
nano
Дано вещественное число — цена 1 кг конфет. Вывести стоимость 1.2, 1.4, … , 2 кг конфет. нужно с циклом do while
c#
0 Votes
1 Answer
23rd Mar 2018, 6:26 AM
Виктория
On a screen assume that there is a division..below that there is a button..on pressing the button, 1 should be printed in div..
<div>
0 Votes
2 Answers
20th Jul 2020, 7:35 AM
Adeeb Khan
What is kind of out put for Number
1
10
from
number
progress
to
-1 Vote
3 Answers
19th Sep 2021, 7:01 AM
Mosab Abdo
If a Boolean value is assigned to an integer, true becomes 1 and false becomes 0. If an integer value is assigned to a Boolean,
c++
data-types
1 Vote
1 Answer
4th Feb 2019, 9:33 AM
Manav Malhotra
Pyton
,
,
.
.
(
).:
**.
000
000
1
1
30
-2 Votes
1 Answer
16th Feb 2021, 2:26 PM
dragon 03
i = 0 / while i<5: / i += 1 / if i==3: / print("Skipping 3") continue / print(i). code starts at "1" and prints 5 why?
loops
1 Vote
2 Answers
27th Apr 2022, 1:01 PM
Israel Ebiti
Increment the value of a variable that starts with an initial value 1 and stops when the value becomes 5.
increment
print
variables
1 Vote
1 Answer
11th Feb 2017, 3:58 PM
Sunny Jha
i take it we are finding random integers within 1 and 6 here? also is random a real module or just used as an example for us to
modules
python
1 Vote
3 Answers
25th Jan 2020, 4:11 PM
Corola
How can I make a button that when I clicked on it it write's 1 and when I clicked on it again it get's 2 and...
help
1 Vote
3 Answers
9th Feb 2018, 9:50 PM
Sina
seats = 10# initial number of seats while seats > 0: # seat available? print("Sell ticket") # ticket sold seats = seats - 1
python
0 Votes
1 Answer
5th Jun 2023, 4:31 AM
Sujay Chatterjee
What the process going on to printing the value 1 . Not(not x or not y and x or not y)
cpp
sololearn
0 Votes
1 Answer
16th Sep 2020, 12:05 PM
Suparna Podder
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
37
38
39
...
41
Next >
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 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
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes