Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
They say "id" is unique but we can use the same id name to style different elements, so how is it any different than class?
css
0 Votes
2 Answers
21st Jul 2016, 7:44 AM
anil maharjan
How to use the method parameter in java? Give me an example program in which we can enter desired value of length and breadth
java
1 Vote
1 Answer
22nd Dec 2016, 6:01 AM
Sachidanand Prasad
How to write a code in c language...where we want out put to be in different colours words (text) in one single line... Using
text
0 Votes
1 Answer
27th Dec 2020, 12:36 PM
Vedika Agrawal
I want a python program (use function ) in which first we check the odd even then return both value and then print
check
even
function
odd
program
python
return
then
value
-4 Votes
4 Answers
19th Dec 2017, 3:08 PM
Avinash Rawat
Can any one explain why we got this kind of output and also say me when " float is true " and "double is false" gets printed ?
c
doubt
sololearn
1 Vote
1 Answer
25th Aug 2019, 9:41 AM
Kiran Deep Naidu
So, according to the app, generators are like for loops, but they have a yield statement, instead of return. Why do we use generators then? They're practically the same.
generators
0 Votes
3 Answers
23rd Sep 2016, 12:19 PM
1-up Man
People always compare A.I. code to ancient Egypt. Can we use Python or PHP for databases along with OOP? Do you agree? if so, why? I am looking to build a A.I. Because my friend lives across the Galaxy.
oop
python
0 Votes
5 Answers
8th Jul 2016, 3:58 AM
Erick Hayes
i really want a basic concept of php? we can use html and css only to create a webpage then why php?? javascript is already there for external popups and more?? so why php??
comments
php
0 Votes
4 Answers
27th Aug 2016, 7:14 AM
Shreetu Hada
Why we need to put const in front of array of string , dealing with enumeration. I want to convert from number enum to string
bool
c++
const
enum
enumeration
friend
inheritance
keyword
return
string
0 Votes
1 Answer
29th Dec 2018, 11:38 AM
Nikola
I can't understand ..where to put open braces{ and closed braces in these given coding and why we put i=2 and at last i==num
learningc
0 Votes
1 Answer
30th Nov 2021, 10:00 AM
MOHAN SHARMA
Was askin wat z da long form of "cout" as for C we used printf !! I want to know its meaning well !!!
c++
0 Votes
2 Answers
16th Nov 2016, 8:29 PM
Prowilly Williams
how to create a java program to print the same statement that we entered in the output without intimating the length of the statement..
java
0 Votes
2 Answers
19th Nov 2016, 12:08 PM
Gajenthiran.V
why do we use the word "class" in defining a function template? is it related to classes really or is just a sample word?
c++
templates
0 Votes
2 Answers
1st Oct 2016, 1:17 PM
parisa
How we can use interface in java n how to.implement it using this keyword anybody know thn plz give d ans or dropped it
java
0 Votes
2 Answers
14th Jul 2016, 11:22 AM
shubhu
If Phyton don't need a computer program how can it be computed? And can we start programing in phyton at any text editor ?
python
0 Votes
2 Answers
9th Dec 2016, 5:44 PM
Eren
why didn't we write cin>>10 as he said in the question "the prog. prompts the user to input a num." Instead of cin>>a.Any help??
c++
variables
0 Votes
2 Answers
12th Dec 2016, 8:32 PM
NadaKarim
what if we ask the user to add two values but instead the user adds only one number then what will the compiler show as second number in the output??
c++
variables
0 Votes
3 Answers
9th Jul 2016, 6:22 PM
Amol Jain
QUESTION on Backtracking // QUESTION // The teacher selected 4 students from a class to play a game. Students were asked to we
solution
-3 Votes
1 Answer
21st May 2020, 4:31 PM
Akhil Patel
i want to understand relation between xml and c# in c# console application my knowledge is elementary how we can see this mess
c#
xml
0 Votes
1 Answer
29th Jun 2017, 11:05 PM
muhamad hardaniyan
Interested in developing a live online library database with books, rack nos, shelfs. Can someone help ? Do we need a barcode ?
c
c++
javascript
mysql
sql
0 Votes
1 Answer
25th Apr 2017, 4:29 PM
Vignesh Sreenivasan
* symbol has to be used before the var name but In Pointers topic it is written that we Can use it anywhere. Please explain.
c++
pointers
0 Votes
2 Answers
14th Oct 2017, 8:41 AM
SHIVAM SALUJA
Why cant i use mod operator to find remainder of a floating point no. Divided by any no even when we use floating point datatyp
c++
operators
0 Votes
2 Answers
19th Aug 2017, 2:25 AM
Harsh Wellengsly
Can we create a snake game using this android app compiler in c?.. Im trying to create but why i cant print a ascii character
help
0 Votes
1 Answer
18th Jan 2020, 2:16 PM
Restituto A. Ochea
How do we write up and store precision figures in a no. that contains trailing zeroes after decimal ? Example how to store 9.10
data-types
decimal
float
storage
value-types
zeroes
0 Votes
1 Answer
14th Jul 2019, 11:48 AM
Farhan Khan
The Simple Calculator doesn't work unless we make "user_input = raw_input (": ")". Is this a common mistake or is just a matter of what Python version is used?
python
2 Votes
1 Answer
20th Jul 2016, 2:59 PM
Jhonne Kleyton
How can I run my own code just like we do in pydroid3 as well as how can I run file handling program (create TXT file and saveit
python
-1 Vote
2 Answers
7th Sep 2021, 8:13 AM
alweena sabir
Is there any code in Python to cut a string as we used to in HTML? HTML Example, left ("abcd",1) gave "a" So anything like this in Python?
python
0 Votes
2 Answers
7th Aug 2016, 7:18 AM
Shashank Keshari
Can we write Char day =b; switch (day) case a: ...... case b: .... case c: ... instead of int day =3; switch(day) case 1: .. case 2: .... case 3: ...
java
switch
0 Votes
3 Answers
7th Jul 2016, 6:48 AM
Raj shah
Can i access to private class var's? Ex. public class me{ private Int a = 1; private Int b = 20; } then we have the constructor and gets and setters, but in other class can I get the values of a and b? calling class or never because its private? How?
access-modifiers
classes
java
objects
4 Votes
4 Answers
6th Jul 2016, 12:54 PM
João Lourenço
The type of variable is auto-defined by assigning a value to it? because in java, we have to declare the type of variable before assigning value
data-types
php
0 Votes
2 Answers
6th Mar 2016, 4:07 PM
ThisTNTSquid
In for loop for factorial, if the initial value of i is 1 then how can we decrement its value by ++i in dry run?
c++
0 Votes
2 Answers
9th Apr 2017, 3:15 PM
Tehreem
assume user can input 2 integers, let it be (15,3) so we have to print all the possible sums of 3 digits which equals input1(15)
java
logic
0 Votes
2 Answers
11th Jul 2017, 2:01 PM
Jay Parekh
Is there any good resources for practicing what we have learned? Something that basically says write a solution to do this specific problem and can go from very basics to complicated.
begineer
c++
0 Votes
3 Answers
23rd Jan 2017, 10:45 PM
Brandon Ausbon
whats the future in programming.. wht kinda of job I'll get in future like .. you say a programmer.. no.. i mean wht we have to do with that for company
c++
comments
0 Votes
3 Answers
14th Jul 2016, 8:25 AM
Manish Pant
can we use anchor tag for link a document. if yes than how i get the path of file which i want to link
<a>
0 Votes
1 Answer
19th Jun 2018, 7:09 AM
aditya
How to start code & what resources do we need to learn PHP and JavaScript from beginner level to improve up to expertise level?
php
0 Votes
1 Answer
4th Aug 2018, 7:27 AM
Sheeshram
Please how do we lean it becouse i can only see the question .i have to lean it before i can answer the questions
i
0 Votes
1 Answer
20th Apr 2017, 1:34 PM
Dj Makosam
If we write int a=42 and then write a do...while loop,we write cout..... and then a++ why doesn't it change the value of a
c++
loops
0 Votes
1 Answer
8th Mar 2017, 8:21 PM
Nour Ghazal
How many hacker are here in sololearn please leave a response so we can count them and how can l be one please help
hackode
-5 Votes
5 Answers
2nd Mar 2018, 6:35 AM
Ryan Macharia
How we can show as a output which is make with html and css, on click a specific button with the help of JavaScript?
,css3
,html5
javascript
0 Votes
1 Answer
1st Feb 2017, 7:00 PM
Md.Enam
why in this case we call the function in Main like that " int result = sum(x, y);" why no by just typing sum(x,y)?
c++
function-arguments
functions
0 Votes
1 Answer
11th Mar 2017, 10:46 AM
Matej Čalić
where should we include teh link tag i.e. what iam asking is whther it should be placed in body or head part of html
html
links
1 Vote
1 Answer
10th Mar 2017, 4:44 AM
ARAVINTHALPHA
Once we reset our course progress it also clears the challenge records. And tat kinda hv a devastating effect on ur xp. : (
challenge
Courses
level
progress
reset
xp
0 Votes
1 Answer
20th Jun 2017, 9:51 AM
Saurabh Sharma
How do we sort if both the columns share the same values? For example, both the last names are Smith and both their ages are 23.
sql
0 Votes
2 Answers
24th Sep 2016, 6:36 AM
Adesh Shrestha
Okay, so AJAX can be used when we want to update small portions of a webpage at a time. When would this be useful? Like when posting on a site?
ajax
javascript
1 Vote
2 Answers
23rd Mar 2016, 5:48 PM
Michael Da Costa
sir whats a method to create the program and whats we use the law and regulation in c++ code block programing sir plz tell me
ali
0 Votes
1 Answer
14th Nov 2018, 8:30 PM
Muhammad Jahanzeb Matloob
does the class containing the main method need to be declared public? is it necessary to do so? also i would like to know if we can declare more than 1 class as public in a java file?
java
operators
0 Votes
4 Answers
26th Sep 2016, 9:46 PM
ABHISHEK SHARMA
How to make an app in android studio where we have to get the location of signal tower which is providing signal to our device ?
android
studio
0 Votes
2 Answers
28th Dec 2017, 4:38 AM
Yash Bhomle
What is the use of <br /> tag? I mean why we should use line break tag for? Is it necessay to use it for your page layout, so that the user don't have to scroll the page?
br
html
2 Votes
2 Answers
20th Sep 2016, 11:01 AM
Vaibhav
There must b a section in which we could upload our code with errors so that others could find if they could find the cause.
and
comment
correction
error
for
programs
section
uploaded
0 Votes
1 Answer
31st Oct 2016, 1:43 PM
MSK
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
195
196
197
Next >
Hot today
Can someone suggest codespace to run my code (react.js)?
1 Votes
Solved Chess tournament you’re creating code for a chess tournament
0 Votes
Is it legal to use conditional preprocessors inside a macro function?
1 Votes
I write a python code for "Take a phrase and replace any instances of an integer from 0-10 and replace it with the English word.
1 Votes
C Programming roadmap
2 Votes
[off-topic]Where is Result??
1 Votes
[SOLVED] Where do you find code coaches?
1 Votes
Messages
1 Votes
Cpp
1 Votes
Adding two numbers
1 Votes