Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Method that takes user input and returns a string value get's stuck
c#
method
2 Votes
2 Answers
23rd Apr 2021, 11:32 AM
Soreanu Stefan Alexandru
Whats the logic behind this code snippet?? Wen I run it, it returns [3,6,9,3]
arraylist
arrays
1 Vote
4 Answers
12th Jan 2021, 3:02 PM
Rex Nerdy
void is used here and still it returns a value,why?
java
reference-types
value-types
0 Votes
2 Answers
23rd Sep 2016, 2:09 PM
harshita
Why on sololearn cpp compiler returns unsused variable in for (auto i : arr)?
cpp
for
iterators
0 Votes
6 Answers
26th Aug 2021, 4:02 PM
nicolas turek
Why size of varible var returns a value of 4?
c++
sizeof
1 Vote
1 Answer
25th Jan 2018, 9:06 AM
Amit Kumar
Web API that returns Hello World asynchronously in ASP.NET Core?
.net-core
asp.net
autofac
c#
jquery
mvc
0 Votes
1 Answer
22nd Aug 2018, 10:41 PM
rabin rai
How to check how many functions returns None in a specific class ?
func_signature
python
0 Votes
3 Answers
5th Jul 2021, 9:41 AM
Ratnapal Shende
Fill in the blanks to declare a function that returns the square of its argument, call it with the value 42 using a function poi
100
awsm
c++++
right
yo
3 Votes
4 Answers
30th Aug 2020, 4:39 PM
SAGAR ROHILLA
How to write a function that accepts text as input and returns the number of characters?
python
0 Votes
7 Answers
5th Oct 2021, 12:47 PM
Алексей Иванов
How do I stop calling a function when it returns NULL pointer? [C]
c
functions
memory
null
pointers
1 Vote
2 Answers
1st Jan 2020, 11:23 PM
ja008
Why foreach returns only the last value from an array correctly? Solved! Thanks to Anand Bhatnagar!
arrays
bhatnagar
domains
file.txt
foreach
ip
jakubec
php
10 Votes
3 Answers
15th Sep 2017, 7:55 PM
JaMi
Python function that returns a Boolean result based on whether the string parameter passed in is an integer.
python3
-2 Votes
11 Answers
27th Aug 2021, 2:46 PM
Kavitha AV
Why printing(num.pop()) returns the index 0 and num=num.pop() removes index 0 from set?
python
sets
3 Votes
2 Answers
10th Aug 2016, 2:44 AM
Jose Altagracia
Average =10/4; Returns 2.0 not 2.5 Pls suggest me to correct this
.
0 Votes
1 Answer
26th Apr 2020, 1:52 PM
Deepak Sandha
"If __ne__ is not implemented, it returns the opposite of __eq__. "75.1 OOP
magic-methods
0 Votes
2 Answers
15th Oct 2021, 7:02 PM
xvxvx
"getchar() Returns the value of the next single character input." What does this mean ?
input
output
0 Votes
6 Answers
31st Dec 2020, 1:36 PM
Sembi Emmanuel
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
How to return multi-dimensional arrays from function in C++?
arrays
function
multi-dimensional
returns
3 Votes
3 Answers
5th Feb 2019, 1:52 PM
777
Does generator create the list first or it returns by demand?
generators
python
0 Votes
1 Answer
16th Sep 2016, 2:08 AM
mohsen jamali
FIXED. (HELP: getElement returns null when it worked before! Tried to fix it all day and nothing changed.)
bug
getelementbyid
help
html
javascript
js
null
queryselector
self-learning
style
0 Votes
8 Answers
11th Jan 2024, 12:53 AM
Bianca Clara Correia Kusunoki
`ForEach` only returns undefined and `map` and `reduce` do not work on this problem. How to make code work?!
arrow-function
foreach
0 Votes
13 Answers
3rd Feb 2021, 9:00 AM
Emmanuel Riano
Function that receives a string as a parameter and returns the length of that string
c
0 Votes
3 Answers
25th Nov 2020, 9:19 PM
Ticcher Leonar
Fill in the blanks to create a lambda function that returns the square of its argument, and call it for the number 8. a = (
a
blanks
create
fill
function
in
lambda
that
the
to
1 Vote
13 Answers
12th Jul 2018, 9:56 AM
Patrick Mita
Write a Python function that takes as input a list of integers returns the most occuring and least occuring integers.
python
python3
0 Votes
16 Answers
28th Aug 2019, 5:28 PM
Sourav A.S
How can I create a function that reads a positive number and returns it, for loops is a must C++
c++
functions
loops
0 Votes
15 Answers
2nd Apr 2021, 10:36 PM
boba
Write a function intreverse(n) that takes as input a positive integer n and returns the integer obtained by reversing the digits
python
0 Votes
6 Answers
28th Aug 2018, 6:43 PM
Kuldeep
Why is hasNext() method in java returns true without even adding anything in stdin?
java
-1 Vote
3 Answers
1st Dec 2020, 4:40 PM
SAKKURI BHANU PRAKASH
C# void. If void returns nothing then why does it continue to execute the method's statement?
c#
methods
void
0 Votes
4 Answers
8th Feb 2022, 5:16 AM
Taukoriri Meita
Write template function that returns the average of three number?(using oop) in C?
c
1 Vote
2 Answers
7th Jul 2017, 12:09 PM
Areeba Ahmed
Very interesting question, why the function returns false if I join all strings into one word?
c++
strings
1 Vote
3 Answers
27th Dec 2022, 4:08 AM
TeaserCode
Why this code returns just one answer (0) whereas the letter p appears twice in the list ?
index
lists
python
1 Vote
8 Answers
21st Sep 2018, 10:55 AM
s l
Given a list of people’s heights in metres. Write a function that returns the average height and the total height
kotlin
lists
1 Vote
9 Answers
31st May 2020, 5:14 PM
Irine Nabwire
Function overloading - weird number returns when return is not provided. what is this number?
c++
functions
0 Votes
5 Answers
4th Sep 2017, 9:48 AM
rakesh c
The forEach() method on arrays returns undefined, how do we use it without logging to the console or calling the alert function
arrays
foreach()
javascript
1 Vote
13 Answers
11th Jan 2022, 7:25 PM
JUSTIN KPAKPA
Write function prototype of a function Calc which receive two integers and returns their average
function
java
0 Votes
3 Answers
10th Feb 2019, 3:59 PM
Manvi Jaiswal
Fill in the blanks to define a function that takes two numbers as arguments and returns the smaller one.
python
0 Votes
7 Answers
19th Apr 2020, 7:25 PM
Quentin Long
Write the functions that performs the following (i)takes in three numbers and returns the largest number
write
0 Votes
4 Answers
13th Sep 2018, 10:28 AM
Michael
i need your help, trying to change image source by class clicking button butnit returns error
javascript
website
0 Votes
4 Answers
10th Nov 2018, 9:41 AM
Giorgi Macharashvili
why if math.abs parameter is a negative integer then it returns a positive integer
java
math
0 Votes
3 Answers
28th Sep 2016, 11:38 AM
Raghavendrachar B
Trying to write a function that returns the average of it's two arguments. What's wrong with my code?
average
code
css
expression
functions
html
javascript
1 Vote
7 Answers
12th Jun 2017, 5:04 PM
DIY Mods
In c language if function data type is void and it returns 1, then it will give error or compile successfully
c
return
void
3 Votes
7 Answers
15th Sep 2020, 4:20 PM
kishor pawar
hello, why "innerHTML " do not work , it returns an error "can't play, innerHTML" of null""
var
0 Votes
4 Answers
28th Aug 2019, 10:57 AM
Bia
Hw do u write afunction that takes multiple words as itsarguments& returns a concatenated version of those words separated by(-)
python3
1 Vote
8 Answers
28th Jan 2021, 2:19 PM
simbarashe
Nested for, while, and do while loop returns blank white in output, why? JavaScript
javascript
0 Votes
1 Answer
11th Aug 2020, 9:34 PM
Hawk Strattus
Fill in the blanks to create a method that calculates and returns the sum of its parameters.
respuesta
-2 Votes
2 Answers
18th Nov 2021, 10:13 PM
Fernando Omar Arciniega Martinez
[Solved] If func returns a list that I'll go over with a for loop and I won't be using the func again, which is preferred:
python
2 Votes
13 Answers
22nd Apr 2022, 3:21 PM
Korkunç el Gato
what will happen if our function requires atleast one parameter and returns nothing execept some string of characters
functions
0 Votes
5 Answers
5th Oct 2019, 8:11 PM
Muhammad Usman
Why do the methods with the return type void still returns a value?
method
returntype
void
0 Votes
1 Answer
1st Jan 2017, 7:43 AM
Usama Zahid
So the write method returns an int showing how many bytes were included?
files
python
0 Votes
1 Answer
9th Aug 2016, 5:18 AM
Victor Lopes Facó
Is there a standard function or in math functions that returns the sign of a float?
c
c++
function
2 Votes
3 Answers
8th Nov 2017, 9:56 PM
imed guebli
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
5
...
7
Next >
Hot today
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
I am beginner,This is will be right code?
1 Votes
Kernel in Jupyter
2 Votes
Solved# Survey data format in coding for data
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
How many days will It takes to completely learn front end
4 Votes
SQL
2 Votes
Solution to solving this bugged problem
2 Votes
JAVA PROGRAMMING
1 Votes
IMAGE
0 Votes