Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
I want to echo $a if its modulus is zero but not displaying. Please what could be wrong?
php
1 Vote
2 Answers
22nd Feb 2020, 5:35 PM
Juliet Chinenye
Written this code the answer I want to get is zero in both values let me know,where is the mistake :)
c++
conditions
else-statements
function-arguments
functions
if
0 Votes
5 Answers
1st Dec 2019, 5:29 PM
Dipanjan Basu
Please guide me to final output. I'm stuck in a part where it should return 1 if i enter negetive arg or zero
c++
function-arguments
functions
sololearn
4 Votes
4 Answers
4th Apr 2018, 6:28 AM
Ronald Mbanjwa
i have zero knowledge in python and i want to know what 6 % 4 equals and why?
python
2 Votes
2 Answers
21st Sep 2017, 9:47 PM
رائد محمد
WAP to find and print greatest numbers from different numbers entered by user.The program should terminate when a zero is enter
.
-4 Votes
6 Answers
18th Sep 2021, 4:53 PM
Huzaifa Inaya
What is the best coding/programming language to start with on sololearn when you have zero coding knowledge and experience?
code
self-learning
sololearn
0 Votes
4 Answers
24th Oct 2017, 7:35 PM
Nick
Checking if a number is positive, negative or zero or any character other than numbers.please check this code.Thanks in advance.
c
negative
number
positive
switch
zero
0 Votes
2 Answers
30th Jul 2020, 5:51 PM
O.Naga Lakshmi Lalasa
How do I round a result to the nearest whole number.... Cos i tried casting but my result variable is printing zero
c#
2 Votes
3 Answers
29th Jan 2021, 5:06 AM
Abdulmuizz Hamzat
In joomla 3.8 version, a menu button page shoes modulo by zero error. How to solve this problem??
error
help
joomla,
php
1 Vote
1 Answer
18th Jun 2018, 5:51 PM
Satyamurti G
Write a function which would divide two numbers, design the function in a manner that it handles the divide by zero expection
def
functions
return
1 Vote
2 Answers
23rd Aug 2022, 10:14 AM
HO DL
I, am a new programming learner with zero experience. I'm here to recommended me for best programming language for me?
a
am
forum
hi
i
in
learner
new
python
sololearn
1 Vote
2 Answers
23rd Nov 2020, 5:59 PM
Abdullahi Hassan
Why does cin, expecting an int, change the corresponding int variable to zero in case of invalid input ?
c++
error
exceptions
1 Vote
2 Answers
1st Nov 2017, 4:01 AM
Akashdeep Nandi
what is output of given code void func(int x) { x+=6; } int main() { static int x; func(x); cout<<x; return 0; } // zero output explanation given below
c++
2 Votes
10 Answers
14th Jun 2016, 11:05 AM
Dev!L
Why my code is giving wrong output for 6900 it is showing 'Six Nine' but it should show ' Six Nine Zero Zero'.
digit
word
0 Votes
3 Answers
1st Nov 2023, 2:32 PM
Ravi Chauhan
Hi totally zero knowledge from beginning learning from the ground to build android apps which one should I go first :)
learning
1 Vote
2 Answers
3rd Jul 2020, 12:42 AM
Hugo Hew
hello guys i started the back to school contest, but i did one course (Git) and when i was done, i saw that my lessons is 0 why
lesson
this
why
zero
1 Vote
1 Answer
21st Aug 2020, 10:33 PM
K∆J∆"ST∆R📲🎧..🎤💝🎶
I want to learn python best.I have finished the free solo learn course of python 3. But i still have zero skill.what to do next?
python3
1 Vote
5 Answers
29th May 2020, 11:44 AM
Jaheen Khan
I found definition for the block "A block is a sequence of zero or more statements enclosed by curly braces"but I don't get it
c++
2 Votes
6 Answers
1st Jan 2018, 8:03 AM
Taha Elhasseen Abdelrahman
If we divide any integer number by zero it raises arithmetic exception. If we divide any double,float number it result the same?
arithmetic
operations
0 Votes
2 Answers
26th Apr 2019, 4:17 PM
PRAVEEN R
Give me a hint please!! Not direct answer!! Why is the last loop not working? It prints zero as the total_time.
python3
1 Vote
1 Answer
31st Oct 2021, 1:15 PM
Neethu Nath
Print a no. Whose unit digit is zero and divisible by 4 and whose first digit is 2 in phython
else
if
0 Votes
1 Answer
28th Nov 2020, 6:15 AM
Rahul
A program that does the calculator using functions and uses any number specified by the user but at zero stops
c++
0 Votes
3 Answers
9th Oct 2017, 6:37 PM
Bts...
Is 0 a Fisher number?
0
chellenges
fisher
number
zero
4 Votes
1 Answer
1st Aug 2018, 4:53 PM
Marek Küthe
In the integer sequence there are zero elements. To create an array of their numbers of these elements
c++
1 Vote
1 Answer
12th Apr 2017, 7:47 PM
vladborn
When we use int main in a program we put return( 0) in ending.where will the zero go in the program
c++
2 Votes
2 Answers
21st Dec 2016, 11:18 AM
Kabeer
Hope y'all having a great day... Why is the tax amount showing zero and how can it be corrected... Thanks
c++
0 Votes
2 Answers
7th Jan 2021, 1:24 PM
Precious Okechukwu
Please help me. How do i make my countdown go back to its initial state after counting down to zero and to keep on repeating it.
countdown
javascript
1 Vote
4 Answers
26th May 2020, 6:40 AM
Infinite
What is the Best way to learning language programming from Zero to Professional, after I learn the basics, what I should do?
c#
0 Votes
2 Answers
10th Jan 2022, 9:14 PM
Ragheed Farooq Mohammed
Good day! Why, if you add the boolean operator <= to the for loop, then the count will start from one, not from zero
c#
0 Votes
2 Answers
2nd Jun 2021, 6:04 PM
أندريه
What are the best ways to become full stack web developers from 0, zero level to full or complete .from basic to the advanced
and
coding,
field
languages,
1 Vote
2 Answers
23rd Jul 2020, 6:32 AM
Nar Bdr Kharka
var a=66; var b=a % 4; var c=b % a; document.write(c); ans is 2 how ??? i thought ans is zero coz b value is 2 and go to nxt step c=b%a 2%66 there is no reminder it will divide completely without reminder so ans is zero plz explain me clearly guyz 😇😶
javascript
objects
0 Votes
5 Answers
19th Feb 2017, 4:52 PM
Mo D'souza
How do I change the program so that it comes out of the while loop in case the entered value is the number Zero or negative? And
java
0 Votes
6 Answers
20th Nov 2020, 8:15 AM
STOP
Why is it important to put the value of zero when declaring a variable and in c++, whats the purpose of return 0?
c++,
java
return
2 Votes
2 Answers
24th Feb 2017, 1:36 PM
Allen Villanueva
Ox30 is the Hexadecimal code of zero 0⃣. 0/0 is indeterminate. However if you take Hexadecimal code the ratio becomes 1.Why ?
0/0
exceptions
0 Votes
1 Answer
22nd Jan 2023, 3:53 AM
Sanjay Kamath
Write a c program that continue to sums up natural numbers as they are entered by a user print out the total only when zero is
r
1 Vote
3 Answers
13th Sep 2018, 11:57 PM
Hannah Joshua
If list is zero indexed, what is the output of printing out list[3] if list = [343 , 22, 50, 25, 100]?
#sololearn
-1 Vote
1 Answer
30th Apr 2018, 2:23 PM
shadrach esharive
[RE_UNSOLVED]my program is not able to read data from file on pc , its just printing bunch of zeros when testing the input
c
file
file_io
zero
0 Votes
1 Answer
25th Feb 2018, 6:32 AM
Hridyansh Thakur
Why doesnt this run? for i in range (0,20,2): num1 = i try: num2 = 0 print (num1 / num2) print("Done calculation") except ZeroDivisionError: print("An error occurred") print("due to zero division")
exceptions
python
1 Vote
9 Answers
29th Sep 2016, 4:53 AM
Pavan Kumar Reddi
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
/*Write a function Zero that will take a number as a parameter and return the number of zeroes and the number of remaining digit
c++
function-arguments
functions
0 Votes
2 Answers
27th Dec 2020, 4:32 PM
Chaudhary Haroon Ali
What is a more efficient way to do this? After 33 I can only get a return value of zero :/
c#
factorials
-1 Vote
1 Answer
15th Feb 2017, 3:32 PM
Nick
Is python smart enough to realise which print statement to print after having two except blocks?I.e just by typing zero division
exceptions
python
-2 Votes
1 Answer
8th Apr 2017, 7:08 PM
Cyndy Wasai
Why it’s printing True even I put a float value like with zero after decimal point - for example (7.0 , 5.0) ?
data
float
int
python
python3
type
0 Votes
1 Answer
2nd Sep 2021, 7:29 AM
Balraj Singh
What is my mistake? I've written the code in many ways but there is something wrong about float and zero division(line 4 and3).
typeerror
0 Votes
1 Answer
13th Apr 2020, 8:48 PM
Jana
What's the best way to start?
experience
help
new
pointers
starting
zero
2 Votes
5 Answers
28th Feb 2018, 8:59 AM
roberto corralejo
I need to select a data that doesn't exist on a table as zero using the COUNT() function, how do I do so using Sql
mysql
question
sql
1 Vote
1 Answer
25th May 2019, 10:52 AM
Myles
here is my code for ln(x) but for all 1<=x<2 its output is zero , can anyone please find the mistake in it
c++
0 Votes
2 Answers
24th Feb 2017, 2:02 PM
chandan reddy
I am a kid with zero experience in coding Is there anyone who will tell me how much does it take to be known at least the basic?
beginner
2 Votes
3 Answers
5th Dec 2017, 6:22 PM
Azad Tuhin
What would happen if you carried out a division problem with a zero but you continued the promlem so it would otherwise be solvable?
data-types
python
0 Votes
2 Answers
8th Nov 2016, 4:20 PM
Tiny Trees
I have a website created with html.css js . Now i want an online store what options i have. Start from zero with prestashop.mag
website
0 Votes
1 Answer
12th Apr 2019, 6:48 PM
Rafael
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
5
Next >
Hot today
Kernel in Jupyter
2 Votes
How many days will It takes to completely learn front end
4 Votes
SQL
3 Votes
JAVA PROGRAMMING
2 Votes
Solution to solving this bugged problem
2 Votes
What Does Pseudo Elements Mean.
2 Votes
HTML/CSS questions
0 Votes
IMAGE
0 Votes
Html
1 Votes
member initializer list : order of evaluation
0 Votes