Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
How to show middle number in array given the odd numbers like that (22,23,34,36,45), the output will be 34
php
1 Vote
5 Answers
14th Nov 2020, 9:27 PM
MD RASEL MAHMUD
How to write an event driven JavaScript program to display odd numbers from 101 to 150.
functions
0 Votes
2 Answers
21st Feb 2021, 3:13 PM
divya shivkumar
Please tell me how to print all even and odd number separately in the end .
array
c
loops
0 Votes
1 Answer
16th Mar 2022, 5:34 PM
Abhay mishra
Find the difference between the sum of digits in a number at odd places and sum of digits at even places.
code
python
0 Votes
4 Answers
6th Aug 2019, 4:45 AM
MOHD TABISH KHAN
Here the programme supposed to sum only the odd numbers so what is the wrong in this code ? 🤔
python
1 Vote
5 Answers
11th Jan 2022, 4:25 PM
Mostafa Ahmad
Pls I don't understand how this recursive function works. I mean the odd and even function. I can't get the logical view.
recursion
1 Vote
2 Answers
21st Nov 2018, 6:31 PM
Borode Ayomikun
How to get a 5×5matrix? Then show the even and odd elements in two diffrent arrays?
arrays
0 Votes
2 Answers
3rd Jan 2020, 11:35 PM
Saeed Soleymani
Write a python program to check whether the given number is even or odd using function
functions
python
0 Votes
2 Answers
16th May 2020, 4:49 PM
Legends Feelings
Pls correct this my code i want to write Even and Odd number.
-1 Vote
2 Answers
26th Feb 2017, 11:27 AM
AZZEETECH INFORMATION TECHNOLOGY
The symbol s and the natural numbers n,m are given. n and m are odd numbers.print a rectangular frame and plus inside
c++
1 Vote
11 Answers
4th Nov 2020, 1:38 PM
Ruslan
I’m exploring Python list slicing and found an odd behavior. Can you tell me why I get this result and how do I do it right?
lists
python
slicing
7 Votes
8 Answers
22nd Mar 2021, 11:17 PM
Jerry Hobby
I want to write a presentation that takes 100 numbers and prints even and odd separately. If the input is not zero,
c++
cpp
1 Vote
6 Answers
7th May 2022, 6:30 AM
Mhdis
Create program to determine odd or even numbers. Double if even, triple if odd. Return 0, if 0
elif
else-statements
even
if-statements
odd
0 Votes
4 Answers
18th May 2021, 8:23 AM
Faz 'Straps' Zaf
Dice roll
chance
odd
-5 Votes
2 Answers
25th Apr 2017, 5:58 PM
dallas bourgon
C++ program to read (X) and then disting uish either X is an odd or even if number double operator
c++
1 Vote
6 Answers
27th Oct 2022, 4:59 PM
Younis Ahmad
How can I make a function that receives an integer and counts the number of odd and even digits?
cpython
lambdas
python
python3
1 Vote
4 Answers
14th Mar 2020, 8:21 PM
Marco Agüero
Can anyone tell me a C++ Program to print total no. of even and odd elements in an array?
array
c++
0 Votes
5 Answers
31st Aug 2019, 5:27 PM
M Shehryar Khan
[SOLVED] "That's odd" in C programming
c
codecoach
odd
that's
thatsodd
0 Votes
7 Answers
27th Jan 2020, 3:25 AM
Ahmad Daniel Sulaiman
C++ program to read (X) and then disting uish either X is an odd or even using (double)
c++
0 Votes
4 Answers
27th Oct 2022, 4:26 PM
Younis Ahmad
Given a no, print the diff btw the odd digit and even digit. I tried the code but the code is not working
c
0 Votes
12 Answers
9th Aug 2019, 3:39 PM
Geek
This java program is intended to print even indexed then odd indexed char of string after a space
helpplz
java
0 Votes
3 Answers
1st Nov 2021, 3:17 AM
Tanu Jain
Hello can you help me calculate the sum of odd and even numbers using for loop?
python
1 Vote
1 Answer
10th Aug 2018, 9:18 AM
Keyt Monroe
Obtain the specific resistance of the copper cable from the multiplier of the circulator multiplied by the odd multiplier
transmission
0 Votes
4 Answers
27th Jun 2020, 5:12 PM
Sano Jee
I want to find a count of odd numbers and even number in a 20 element array using function and this is my attempt
c
help
1 Vote
13 Answers
1st Aug 2020, 10:58 AM
narthana wickramasinghe
I want to know the number of letters in the word and know if it is odd or the even
what's
wrong?
2 Votes
2 Answers
13th Jun 2022, 8:42 PM
Fatma hgazy
Input ten numbers and find total number of even and odd using goto statement
c++
-3 Votes
2 Answers
11th Sep 2017, 7:54 AM
rishabh Singh
write a programme in java to check wheather the number is even or odd
java
-3 Votes
2 Answers
3rd Nov 2017, 1:04 AM
Devanand Bilsi
I want to make a program in Python which takes 10 integer values from user and prints the largest odd integer. Plz help.
begginer
mit
python
1 Vote
12 Answers
25th Oct 2018, 8:47 AM
Sam Thakkar
How can I tell a prime number is a prime number and add it in this code
code
codeplayground
even
numbers
odd
prime
python
5 Votes
17 Answers
27th Aug 2023, 3:51 AM
P A Arrchith Iyer
You need to change the code to skip the even numbers, so that the logic only applies to odd numbers in the range.
continue
core
python
-1 Vote
7 Answers
17th Feb 2021, 8:42 AM
Krunal Ramraje
i am not getting correct even odd numbers count from given range of numbers (range -5 to 7)...
(i%2)
+
+1
=
==
0
0:
1
a
b
b+1):
count
else:
even
even_count
for
i
if
in
int(input())
odd
odd_count
print(even_count)
print(odd_count)
range(a
0 Votes
3 Answers
23rd Feb 2021, 9:58 AM
anil jampani
write a java program to input both odd or both even number. display even series or odd series with the limit. display error message in a dialog box if one is even and other is odd?
coding
java
program
0 Votes
3 Answers
5th Nov 2016, 1:39 PM
muskan
Guys..anybody know why this code is not working properly ?? It's to purify an odd numbers from a list
python
python3
1 Vote
4 Answers
22nd Jul 2018, 7:16 PM
Karim
How to write a program in Java using any of loops to print Odd Numbers from 1 to 25.
if
if-statements
java
loops
oddnumbers
0 Votes
3 Answers
18th Apr 2019, 3:33 PM
Zain Ul Abdeen
Hi guys..! I want the output to be columns
beginner
c#
odd
0 Votes
3 Answers
6th Aug 2023, 9:30 AM
김민섭
It is possible to chack The given number is even or odd without using rimender Opreter in ç++
remender
2 Votes
3 Answers
6th Mar 2018, 7:38 PM
Abhay Upadhyay
How can ich check if a number is un/even? JavaScript!!
even
javascript
odd
0 Votes
4 Answers
26th Dec 2016, 8:56 PM
TheSimonLP YT
If the question is: print all the odd numbers between 21-50 using for loop...then how will be the format
c++
1 Vote
5 Answers
23rd Sep 2017, 5:07 PM
ishita gupta
Write a c language program to generate print,and compute average of odd numbers 200&1000 using statement
answer
good
0 Votes
1 Answer
12th Jul 2022, 6:33 PM
Chinedu Benedict
Write a python program to print the sum of all odd numbers from 1 to 100.
"b"
"c")
("a"
(1
=
2
3)
tuple1
tuple2
tuple3
-3 Votes
3 Answers
12th Oct 2020, 2:39 PM
wherearetheavocados
Product of odd numbers from 1 to 15...its where am stuck my outputs are 1 3 5 7 9 11 13
methods
0 Votes
7 Answers
19th Jul 2018, 6:50 AM
Abby
Can anyone please tell me the answer to this question : Q - print the sum of odd and even numbers separately from the loop
java
0 Votes
8 Answers
22nd Dec 2022, 2:00 PM
Sanya Sanskriti
write the code to construct the greatest odd number from the user entered number using single array
c
c++
java
python
1 Vote
2 Answers
1st Oct 2018, 2:26 PM
ANKUR KUMAR AGARWAL
Write a c++ program to compute the sum of square of odd numbers from 1 to n where n is a positive integer.
numbers
odd
of
Squares
7 Votes
2 Answers
2nd Dec 2016, 5:58 PM
Baba Yunus Abdul Yekin
Write a program to display only even number and ignoring the odd numbers from a range given by the user.
java
-5 Votes
8 Answers
19th Feb 2017, 11:20 AM
jatin arora
WAP to read a list of numbers and exchange every even position element with next odd position element
lists
python
0 Votes
2 Answers
16th Feb 2020, 11:11 AM
Rahul Sharma
How is code for a program in turbo c++ different from other IDEs?
c++
cpp
even
odd
oddeven
turbo
turboc++
0 Votes
26 Answers
17th Feb 2022, 3:26 AM
Kruti
Program to sepearate and print even and odd numbers of an N element array in two different lines
array
c++
coding
competitive
0 Votes
1 Answer
14th Aug 2020, 7:27 AM
Navneet Chauhan
I can use some help on the even or odd practice. How does one declare an even to compare a random number to?
c++
else-statements
1 Vote
5 Answers
14th Feb 2021, 8:20 AM
Michelle Davis
Pls, why does this code print only odd numbers in the range? And if I chnge the "if" to (x = x) it prints the full range
java
2 Votes
7 Answers
11th Dec 2019, 6:54 AM
%iSOSiYA%
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
5
6
7
8
Next >
Hot today
Javascript
3 Votes
I Had Solve My Own Way But I See Others Method which I had added as Comented code I don't Understand Working Can You explain me?
2 Votes
What i do?in html intermediate level i dont like.
2 Votes
How to get mentor in solo learn.any mentor who response my activity🥹
1 Votes
Why text takes time to load
1 Votes
What is late happening in late binding
1 Votes
Digital currency
1 Votes
Did You resolve Calculating The Discount?
0 Votes
I had an issue, I have PRO version, but not unlimited lives.
1 Votes
Why my code closes when i choose a border and submit?
0 Votes