Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
1. How echo "end of line" ('\n') ? 2. Why echo $var+$car is 0 ?
php
1 Vote
4 Answers
29th Jul 2019, 6:55 PM
UraL
While using scanf it works fine but when I use fgets instead of scanf it only returns 1.
c
fgets
input
scanf
0 Votes
10 Answers
26th Jul 2021, 12:06 PM
Kishan Khanna
In what way programming can be learned 1. By books or by videos or by apps
effective
learn
programming
to
way
6 Votes
4 Answers
6th Jun 2017, 9:56 AM
Vansh
Why my output show 1. I want to print perfect no between 1 to 1000???????
java
no
output
problem
1 Vote
3 Answers
14th Aug 2018, 1:54 AM
Veeru
I can't understand that $a = count("123","45"); echo $a; . Output: 1. Why?Please explain me more.
count()
php
1 Vote
2 Answers
23rd Jun 2019, 5:49 PM
Sanjar Sobirjonov
In section classes and object, there is a problem based on queue management part 1. Can someone solve that with explanation.plz
management
part1
queue
0 Votes
6 Answers
30th Nov 2020, 5:25 PM
Radhika
I need help to remove spaces form list. For example user gives input as 1 + 1.
python3
-1 Vote
5 Answers
20th Mar 2021, 1:54 AM
Rohan Raj Shrestha
Whats the main purpose of: 1. Javascript 2.react.js.....if you know the best ure a genius
javascript
0 Votes
2 Answers
1st Apr 2020, 2:52 AM
Josaphat NGOGA UWIZEYE
Which of the following two statements are valid? Why? 1. x=1,024 2. x=(1,
boolean-logic
booleans
c++
css
java
python
strings
variables
0 Votes
1 Answer
29th Sep 2016, 7:20 AM
Devansh Kaushik
Which one should I take for undergraduate courses ? 1. CSE 2. SWE
computer
course
language
learning
programming
software
undergraduate
0 Votes
1 Answer
4th Oct 2018, 7:04 PM
Rejoan Kobir Nishan
how to print a number from 10 to 1. Using do while loop. But The Initial value shoudl be 1
c++
0 Votes
14 Answers
12th Nov 2017, 6:02 PM
Abdul Wahab
Can anyone please give codes for 1. Reverse order of words in a sentence. 2. Reverse the entire sentence
c
c++
1 Vote
10 Answers
14th Nov 2017, 4:20 AM
madhura prasad
print ((1j**2).real) --> - 1. 0 how does it work? Where can i find the answer?
duel,
game
0 Votes
2 Answers
6th Apr 2018, 10:26 AM
Greenman
Which language is suitable for mobile app development?! 1. Python. 2. Ruby. 3. Java ........
mobile_app_development
1 Vote
2 Answers
16th Jan 2018, 6:34 AM
Cimraan Abdullah
1. How is var a = 9? in this Javascript Challenge.I thought the increement is to happen after the substraction.
code
javascript
javascriptchallenge
sololearn
0 Votes
3 Answers
22nd Jan 2024, 6:05 AM
Dr Melchisedec Bankole
What is the difference between writing cout in this way 1. Cout<<"this"<<"is"<<"awesome" and this way 2.Cout <<"this is awesome"
c++
cout
3 Votes
6 Answers
14th Dec 2016, 3:00 PM
NadaKarim
even number=list(range)(2,11,2).why range function takes third argument in range or step size starting from 2 not 1.
cpython
python3
0 Votes
2 Answers
10th Jan 2023, 8:54 AM
janvi vashistha
How would I solve for, if(a = 8 || b==5), where int a =7, b= 1.
c++
0 Votes
2 Answers
17th Jun 2020, 2:33 AM
Ahmed Sheikh
I need a C program to print the digit immediately after the last even digit of a number. e.g input 23613 output 1.
c
cprogram
help
need
2 Votes
8 Answers
22nd Apr 2023, 3:02 PM
Debjit Dey Sarkar
Can anyone please tell me which python module needs to be imported to invoke the following functions : 1. sin()2.fabs()3.trunc()
python
python3
2 Votes
2 Answers
14th May 2019, 1:14 PM
Da Talking Pigeon
The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3.
ben
-1 Vote
7 Answers
1st Feb 2022, 4:42 PM
oyesiji ayomide
Can you tell me what is wrong with the code on line 1. if you do know pls change it
help
js
line1
web
1 Vote
5 Answers
22nd Jan 2021, 2:13 PM
Jordan Kinney
What is the difference between 1. String s1 = new String ("abc"); 2. String s1 = "abc"; ?
constructors
string
1 Vote
1 Answer
15th Mar 2019, 5:28 PM
Soma Venkata Sai Krishna
How can you randomly return an element from a list? "rand()" is uniformly distributed from 0to 1. "list" is a list of elements.*
c++
programming
python
0 Votes
14 Answers
10th Nov 2018, 7:09 PM
Deep
1. Write a program that asks the user for their name and how many times to print it. The program should print out the user’s nam
range
0 Votes
8 Answers
8th Feb 2023, 12:14 PM
Erika Abalora
Create a Student Class with classSize attribute. Then add the following fourmethods: 1. setClassSize 2
java
-2 Votes
3 Answers
8th Mar 2017, 10:59 PM
xpekyo gg
1. Program to check if a number can be displayed as a sum of two prime numbers
c
prime
sum
2 Votes
1 Answer
27th Mar 2018, 9:19 AM
Dinesh S
How many bit(s) does a boolean variable contain? I remember it's 1. Correct me if I'm wrong...
c++
data-types
0 Votes
3 Answers
1st Nov 2016, 9:00 PM
jiapei100
how to print a number from 10 to 1. Using do while loop. But The Initial value shoudl be 1
c++
0 Votes
6 Answers
11th Nov 2017, 4:26 PM
Abdul Wahab
What i should count to last word in the string if i counting from last , -1 , -0 or 1.
javascript
js
2 Votes
2 Answers
20th Apr 2019, 4:24 AM
Bug Slayer
Please do you suggest i make note as i learn with Sololearn. Or i should just 1. Read , 2 answer the question , and 3 practice.
css
html
javascript
php
14 Votes
11 Answers
11th Nov 2017, 10:16 PM
Ernest Brayce
Unordered list. 1. Is tag </li> not mandatory? 2. How to use tag <img> as <li type => in <ul> ?
html
1 Vote
4 Answers
27th Jul 2019, 11:07 AM
UraL
Suppose that x is 1. What is x after the evaluation of the following expression? (x > 1) && (x++ > 1)
java
2 Votes
3 Answers
18th Nov 2020, 3:45 PM
Zaina Fannana
1. Сформировать массив, используя только плложительные элементы двух заданных массивов длины N. 2. Умножить заданную матрицу р
basics
python
-2 Votes
1 Answer
13th Oct 2020, 12:17 PM
dafY
Write a java program to display a date input by user in three different formats. 1. DD/MM/YYYY 2. MM/DD/YYYY 3. DD MM,YYYY
conversion
date
format
java
program
0 Votes
4 Answers
23rd Sep 2020, 1:51 PM
Atul Gautam
i set : 3 in argument x, and program says syntax error seems that index can not be more that 1. why?
output
0 Votes
6 Answers
19th Jun 2019, 12:34 AM
Edwin Boada
we initialized x to 5 .. then we used the method addOneTo(x) that increments x by 1. The output stays 5 why????
java
reference-types
value-types
2 Votes
2 Answers
11th Nov 2018, 8:28 AM
Liza BOUMALI
Дано целое число. Если оно является полcжительным, то прибавить к neму 1. противном случае не изменять его. Вывестиполученноечис
помогите
0 Votes
3 Answers
12th Oct 2017, 10:21 AM
Aidana
Which is the best way of studying programming 1. Watching YouTube tutorials and applying them side by side.2. learning from book
best
language
programming
study
way
-2 Votes
5 Answers
26th Jul 2021, 7:53 AM
Bhushan Kadam
How do count Affect the function. What is 0 and 1. Is this just INDEX or just counting number like WHOLE NUMBER.
count
if-statements
loops
1 Vote
5 Answers
29th Jan 2021, 10:48 AM
We Doru
Working on an end of module project. It is suppose to show answer for 2 different scenarios. I'm able to display only for 1.
course
js
0 Votes
6 Answers
19th Jan 2021, 10:23 PM
Joaquín Augusto Henríquez Chávez
I have a problem understanding the Microsoft c# APIs, here are my questions 1. In which order are the APIs organized?
i
learn
really
to
want
0 Votes
2 Answers
6th May 2023, 10:53 AM
Kinimo Ke'vin
What is the difference between following two typedef statements? 1. typedef struct {int x; int y;} Point;
c++
struct
typedef
0 Votes
1 Answer
28th Feb 2017, 4:59 PM
Utsuk Smile
ques 1. int y = 5; cout<< ++y + y++; ques 2. int y = 5; cout<< y++ + ++y; how is it working?
c++
decrement
increment
2 Votes
7 Answers
26th Aug 2016, 3:43 AM
Pahul Preet Singh
I want to see 34 in derived 2 class function too. I wanna see how can I get same answer by making changes through derived 1.
c++
constructor
humble
inheritance
methods
oop
problem
programming
0 Votes
7 Answers
8th Jun 2022, 1:34 PM
Muhammad Talha Atif
1. sum of even numbers 2. sum of odd numbers 3. count how many odd numbers 4. count how many even numbers
c++
0 Votes
4 Answers
1st Mar 2017, 4:50 AM
z x r x
sir My question are 1. I want to build an android app. But can good android app made by a single person?
android
career
developer
future
importent
web
1 Vote
2 Answers
23rd Mar 2020, 6:16 PM
Bijan
my output in the fizzbuz project is matching to the answer. still i am not able to clear the test 1.
fizzbuz
python
1 Vote
1 Answer
15th Jun 2021, 9:43 AM
shlok bhalerao
1. Design a ASP.NET page with tow textboxes tbxUsername, tbxPassword and one button btnLogin. Write C# program that implements
code
codeplayground
programming
0 Votes
2 Answers
3rd Jun 2018, 5:34 PM
Redeem T
1. The following code has error(s).Rewrite the correct code underlining all the corrections made.What will be the output after
1 Vote
2 Answers
16th Feb 2018, 3:56 PM
Jai Di
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
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
Is there any new bug in the projects reply sections?
1 Votes
why do people say programming is hard
0 Votes
I’m new someone can help me
0 Votes