Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
I want to write something else in my first program is instead of Hello World. But it's showing syntax error every time
python
0 Votes
3 Answers
27th Dec 2016, 9:02 AM
Lakhan Kashyap
while loop runs forever when a character is entered by user instead of an integer. How to stop it?
c++
loops
while
0 Votes
1 Answer
10th Aug 2016, 4:08 PM
Preet
how to call for enter value instead of this way which just print without asking the value as expected
c++
0 Votes
1 Answer
20th Apr 2017, 2:24 PM
Thierry Stay
I want to print amessage if any one input chars (string) instead of numbers and stop my following code after this line ?
code
python
question
0 Votes
2 Answers
19th Feb 2020, 6:32 PM
Khaled Elaskry
in c language say x=10 then in next line y= --x + --x + --x then the output is 23 instead of 24 can anyone explain
c
cprogram
0 Votes
3 Answers
8th Jun 2022, 1:52 PM
Pushkar Roy
Can someone please explain why I would want to only import part of a module instead of all of it?
modules
python
0 Votes
2 Answers
23rd Jul 2016, 8:37 PM
Peter Drennan
I heard somewhere that Google's not gonna use java now , instead they are switching to Kotlin . Why ?
java
0 Votes
2 Answers
5th Mar 2018, 8:59 AM
Manan Sharma
Why here taking %6.2f instead of %f? In some times to taking %5d makes me more confusing in some texts......
c
0 Votes
1 Answer
2nd Mar 2019, 2:41 AM
V Chandu
Is it the same if we write int say_hello(); instead of void say_hello(); ? If not what's the difference ?
functions
0 Votes
1 Answer
12th Oct 2019, 2:21 PM
Sk. Ahmed Razha Khan
select round( sysdate, month) from dual; in this query if we use number instead of sysdate.. it shows error.. why?
sql
0 Votes
2 Answers
4th Oct 2016, 7:08 PM
S.Akbar Sheriff
In crm d365 wen i try to set a particular field with a date from another form, it populates 01/01/1970 instead of the xpctd date
javascript
sdkrest
webapi
1 Vote
2 Answers
18th Oct 2019, 4:06 AM
Shruti Nair
How can you clone inner text in javascript.Not the node. Or maybe copy it so that you can use the copy instead of the original
dom
html5
javascript
0 Votes
2 Answers
8th Aug 2019, 12:43 PM
prime omondi
How do I use the progress element in conjunction with javascript to make it move instead of it being restricted by a coded value
html
1 Vote
3 Answers
5th Feb 2018, 11:02 AM
Mubiru Jerry
If you make a game "computer vs Human" what are some code you can write for "computer" to win instead of playing randomly?
python
0 Votes
3 Answers
3rd Apr 2017, 5:40 PM
Agents B CM
I am expecting for the output to be '1' , but instead it gives me '49'.Can someone explain what is happening in my code thanks:)
c#
int
strings
0 Votes
2 Answers
11th Aug 2021, 11:34 PM
Xenon
Is there any return type other than void or int that can return string so that we can use this return type instead of using cout
c++
return
1 Vote
3 Answers
20th Feb 2019, 9:50 AM
Dash
i want to know what is the main difference between the html,xhtml and html5 and why css3 is used bow days instead the css
css
css3
html
html5
xhtml
1 Vote
3 Answers
16th Sep 2016, 2:57 PM
Jasmail Singh
what if at the end of the program I write return 1; instead of return 0; what would happen to my program after compilation
c++
classes
1 Vote
3 Answers
30th Mar 2017, 9:27 AM
Timothy Achibu
javascript has been giving me some problems. Is it possible to learn jquery instead of javascript or u have to know javascript
javascript
jquery
1 Vote
2 Answers
28th Dec 2016, 7:32 AM
freakshow
In the simple program of hello world i tried 'return x' (x taking any value) instead of return 0 still it is working.Why?
c++
0 Votes
3 Answers
13th Mar 2017, 3:19 AM
umesh
Do you still use Java instead of Kotlin in App development? why? what are the pros and cons? (For Android Studio users)
development
java
kotlin
0 Votes
1 Answer
2nd Oct 2018, 11:45 AM
Jan Paul Echaveria
For the simple code below i expected output as "" hello"". But instead I'm getting output as just hello without any quotation.
c++
print
syntax
2 Votes
1 Answer
2nd Dec 2016, 8:22 AM
fathima shahanaz
I don't understand why the code use x in sum+=myArr[x]. I have tried to use double instead int and it doesn't work.
arrays
0 Votes
2 Answers
6th Feb 2018, 3:28 PM
Mariano Martin
I think it's always better to use && instead of &. Are there any real life scenarios where & is more useful than && ?
cs
2 Votes
2 Answers
7th Jun 2017, 5:04 AM
Ashish Kulkarni
Good morning sir. Can i get one line iterate in console instead many new line in console. Thanks you sir.
getting
iterate
line
one
-2 Votes
1 Answer
10th Jan 2022, 10:14 AM
Malick Diagne
Can any one please explain me why it is in infinite loop ,,, but when i put i++ Instead of i+1 it doesn't go in infinite loop
c
1 Vote
2 Answers
12th Aug 2020, 2:05 PM
Ashutosh Singh
So you know how you can clear your screen using system("cls") right but what could you use instead of that because people are telling me system() is evil.
c++
0 Votes
5 Answers
1st Aug 2016, 1:07 AM
Tristan Peters
What will happen if I use " void main ()" instead of " int main ()" , and discard "return 0"??
c++
0 Votes
2 Answers
13th Jun 2016, 11:37 AM
Zain Ul Abedin
how can i make it so that a comment will appear when i want it to instead of appearing instantly?
c++
-1 Vote
1 Answer
1st Oct 2016, 4:45 AM
jayhaynaynay
Hi.. I heard that instead of "iostream", "std_lib_facilities.h" can be used and the later is the latest one. Can anybody clarify? Thanks in advance.
c++
headings
1 Vote
2 Answers
8th Aug 2016, 6:22 PM
Srinivas B
I like networking but i love Programming. People want me to do networking because its common in our country. Can i code instead
,html5
,javascript
,website
css3
1 Vote
2 Answers
1st Aug 2017, 8:26 PM
Muyambi Stuart
How to Print the Elements of any list or any loop in same row instead of printing it in different row?
lists
python
0 Votes
2 Answers
17th Jan 2017, 2:51 PM
Gaurav
Can we import a table in a database in sql directly from excel instead of creating the table in sql ? i yes, how?
sql
0 Votes
3 Answers
1st Aug 2016, 10:15 AM
Anand Nain
what is the use of dictionary in python..... because there are lists also available in python so why don't we use them instead of dictionary.
dictionaries
python
2 Votes
2 Answers
31st Jul 2016, 10:39 AM
Aakash Sharma
Why Android Developers Goto Kolin language Instead of Java? Its this possible that android studio is now not totally depend java
android
java
union
1 Vote
1 Answer
23rd Jan 2018, 12:31 PM
Baset Eli
if i enter 60 as weight in kg and 1.8 as height in meter the why the bmi is showing 60 instead of 18.51. Find the problem plz...
hello
0 Votes
2 Answers
1st Sep 2022, 5:15 PM
Ashish Raj
Hello everyone. As I can do so that when you enter a letter by Input, I am appearance an asteriscas instead of the letter
console
python
0 Votes
2 Answers
18th Dec 2018, 4:49 PM
Fredy Tecú Hernández
What is the purpose of Nullable types in C#? Can we just assign a value of 0 instead of using null?
beginner
c#
nullable
problem
type
0 Votes
1 Answer
1st Aug 2017, 4:56 PM
Gerald Taccad Cauilan
I try id prompt in body html instead id JavaScript. But i want it to do JavaScript. Thanks you sir sololearn.
body
html
id
prompt
-1 Vote
1 Answer
12th Jul 2021, 7:14 AM
Malick Diagne
Hey guys, do I put"==" instead of "=" and do I need to indent anything, if you see any other problem, pls free to correct me.
calculator
python
0 Votes
2 Answers
11th Apr 2022, 10:39 AM
Zanele
I'm a new Java learner and I can't figure out why the result is different when using logical OR operator instead of bitwise OR o
bitwise
java
logical
operators
0 Votes
2 Answers
29th Apr 2020, 10:27 AM
Mohammad Ala Tahhan
Why it prints 3 times instead of 4? I thought it will print 5, 4, 3, 2 so it's 4 times, right? Can someone explain it to me? Thanks
loops
python
1 Vote
4 Answers
11th Aug 2016, 10:27 PM
Faizal Khilmi Muzakki
Why its shows error while try to pass the value as normal interger a and b into the function update instead of passing ptr var?
pointers
0 Votes
1 Answer
25th Apr 2019, 5:46 PM
Sudha
Why some programmer use char array of int instead of using strings,? And how to generate this char array from a string?
array
char
java
strings
1 Vote
1 Answer
24th Sep 2017, 12:45 PM
Aboelazm Mohamed
is it gonna be a problem in the future if i just use \n everytime i wanna write a something new instead of cout<<"" everytime
c++
cou
1 Vote
2 Answers
14th Jan 2017, 3:10 AM
jonathin
Please why does this code return l instead of F. And I compared that if X is assigned to 5%5 ......isn't this correct to compare
assigned
1 Vote
2 Answers
23rd Feb 2018, 5:56 AM
Sammy
When the code is run, If num1 = 10 and num2 = 5,the result is giving me 105 instead of 15, how can i fix it to get 15 as result.
c#
code
0 Votes
3 Answers
6th Oct 2021, 10:02 AM
omitogun toni
when I run the code and enter the value of 'a' a letter instead of showing the erroe it's showing the sum.!?
c++
variables
0 Votes
1 Answer
19th Dec 2018, 9:16 AM
Aditya Rathore
Why we use SET instead of using array?? , it says both are same but i feel set a little bit uncomfortable? is there any idea of using SET? I want to know some cool fact about using set?
sets
swift
8 Votes
4 Answers
25th Feb 2016, 11:38 AM
Madhab Dhakal
Python why does the below codes input popup show "split multiple input into seperate lines" instead of "enter 1st no. And 2nd no
input
python
0 Votes
1 Answer
14th Jun 2020, 3:56 AM
DHIVYARAJESRI
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
22
23
24
Next >
Hot today
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes