Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Print all even number and odd number using one for loop?
and
by
even
for
loop
odd
one
2 Votos
3 Respostas
26th Mar 2017, 11:34 PM
Turf
Can anyone help me solve that's odd code coach problem by modifying my code.
c
7 Votos
1 Resposta
12th Jun 2020, 8:30 PM
Varun N
Is there a way to tell python if Odd number or if even number print(this)
boolean-logic
if-statements
python
1 Voto
8 Respostas
8th Nov 2023, 8:56 PM
Kreshnik Feka
Write an algorithm to find the given number is odd or even
python
-1 Voto
4 Respostas
17th Oct 2018, 12:23 AM
SRP Narwal
Read from Array integers and find divid of odd number
and
array
divid
find
from
integers
java
number
odd
of
read
0 Voto
2 Respostas
10th Apr 2018, 12:12 AM
noura
How to input our values and do odd or even
else-statements
python
0 Voto
3 Respostas
1st Mar 2017, 10:39 AM
gokul
Seperate Even and odd elements of an array using pointers in C program
and
arrays
c
even
odd
pointers
0 Voto
5 Respostas
20th Nov 2021, 11:09 AM
31_Shreyash Jeughale
I need help in this c code about odd perfect squares
c
0 Voto
2 Respostas
10th Mar 2020, 3:58 PM
Manar Ahmed
Can someone help me create a c++ program that accepts any integer input then display the next 10 odd numbers from that input?
c++
odd
0 Voto
6 Respostas
7th Oct 2019, 11:16 PM
Leah Dagupan
Write a program to print first N odd numbers in descending order(python)
python
0 Voto
3 Respostas
10th Sep 2018, 6:14 AM
tonu ji
How can I decide if a number is odd or even with if else?
c++
if-statements
0 Voto
7 Respostas
17th Dec 2020, 3:48 PM
Alex
How to find even or odd no using function
c++
0 Voto
1 Resposta
20th Dec 2016, 12:14 AM
swarali Jagdale
That's odd in Python. Why not working? Explain for me? Also add another solution?
number
odd
python
2 Votos
2 Respostas
24th Apr 2020, 4:58 PM
Purevsuren
Fill in the blanks to declare an arrow function that takes an array and prints the odd elements.
es6
functions
javascript
loops
-1 Voto
10 Respostas
14th May 2020, 4:26 PM
"Mohammed Khier" Alawadi
How to print odd numbers 1 to 10 in for loop
python
0 Voto
2 Respostas
13th Oct 2019, 8:21 AM
Prince kumar
How do you justify this rather odd behavior of functions working with lists?
function-arguments
lists
python
2 Votos
4 Respostas
25th Feb 2020, 7:25 PM
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】
What's wrong with my code?!
bug
continue
help
loop
odd
python
0 Voto
44 Respostas
23rd Aug 2021, 1:12 PM
Atena Molaie
To replace all odd numbers in numpy array with -1 in python language
html
project
python
python3
questions
sololearn
2 Votos
3 Respostas
19th Jan 2020, 1:19 PM
Archit
How to find the given no is odd or even using pointer to structure
c
2 Votos
6 Respostas
4th Apr 2020, 11:18 AM
Bharathkannan R
Challenge - How to find the sum of even digits and odd digits of a given number...?
c
c++
java
javascript
perl
python
10 Votos
16 Respostas
15th Dec 2017, 1:46 AM
Janagama Prabhakar
Program in c++: how to know this number is even or odd
c++
if-statements
0 Voto
2 Respostas
21st Sep 2022, 8:03 AM
Niranjan Kumar Yadav
A Js property that allows you to check if a number is odd or even.
javascript
3 Votos
5 Respostas
11th Jun 2023, 10:13 PM
Cyril 4L👨💻🔥
Why they is no odd no. Output when x=x+2,when x<10 (increment)
increment
-2 Votos
3 Respostas
14th Feb 2022, 6:47 PM
Boss Only
How to print out odd numbers from 0-50 using while loop
c++
0 Voto
3 Respostas
25th Apr 2017, 8:51 AM
jesse
Write a Short Program to Print First n Odd Numbers in Descending Order in Python??
descending_order
odd_numbers
python
2 Votos
4 Respostas
8th Sep 2019, 9:18 AM
Dope Tube
Write a function programme to count odd elements present in an array
c++
1 Voto
3 Respostas
29th Mar 2018, 8:58 AM
Manisha Seth
I can not find WHY? output is 0123456789? instead of odd numbers 13579?
continue
php
3 Votos
4 Respostas
2nd Mar 2018, 4:11 PM
Jan Sunshine53
Does anyone know how to print the first 3 odd perfect numbers in C?
c
0 Voto
5 Respostas
15th Aug 2021, 3:45 AM
kevin josuè mondragon nuñez
how to write a program in c++ finding the number is even or odd
c++
4 Votos
5 Respostas
7th Sep 2017, 4:02 AM
Yash🏁🔘
I would like to create a functin that determines if round.random(uniform(0,10)) is odd or even
float
function-arguments
math
operators
0 Voto
7 Respostas
15th Aug 2021, 7:59 PM
Aaron
Can you write a code? How to select odd words in a sentence and sort them?
help
python
python3
1 Voto
7 Respostas
5th Dec 2020, 8:49 PM
Марина
How can plus 1 to 100 odd number (use for i in range(1,101))
odd
python
0 Voto
6 Respostas
25th Mar 2017, 2:29 PM
정은희
How to print odd numbers between 20-30 using do while loop in js
javascript
0 Voto
2 Respostas
3rd Oct 2018, 9:59 AM
manav
How can I change the code to make it print odd numbers only?
python3
-2 Votos
3 Respostas
23rd Oct 2020, 10:02 PM
Samain Salia
Program challenge guys::...remove alternate duplicate character.that is keeping odd occurrence
program
0 Voto
1 Resposta
7th Mar 2018, 4:41 PM
Rohith
Determine if the sum of 2 numbers is odd or even
flowchart
1 Voto
2 Respostas
17th Jun 2017, 9:40 AM
Gab
I've written a code that outputs even and odd numbers from 1 to 20, i need help in writing prime numbers, anybody aware?
print
3 Votos
21 Respostas
15th Mar 2021, 4:46 AM
Philip Ochieng
Hello... How to find odd and even numbers in the array below👇
arrays
c++
even
odd
string
2 Votos
2 Respostas
6th Dec 2017, 3:50 PM
Memo
Write a program to print the sum of first thirty odd numbers?
c#
1 Voto
3 Respostas
11th Oct 2017, 11:56 AM
JRM ASIF
The code will run successful, but in the output at the end, you'll see None, why?
even
odd
or
1 Voto
8 Respostas
8th Sep 2024, 1:54 PM
Aaron Paul
How To find the given no is odd or even using point to structure
c
2 Votos
4 Respostas
4th Apr 2020, 11:17 AM
Bharathkannan R
What is wrong with my code?
c#
odd
thats
1 Voto
2 Respostas
2nd Feb 2020, 2:17 PM
Vanessa Nilsson
In c++ sum of first 20 odd numbers what is codding
gg
0 Voto
2 Respostas
11th Mar 2017, 8:15 AM
pooja patl
Whats the statement for getting prime and odd numbers beginner here
c++
0 Voto
2 Respostas
23rd Feb 2017, 5:01 PM
Siasu Oyused
How the bitwise operator 'and' checks the number even or odd ???
c
c++
java
python
0 Voto
1 Resposta
19th May 2020, 3:39 AM
Ahmed Muhammed
Why this code don't work?
c++
even
odd
0 Voto
4 Respostas
19th Aug 2022, 6:18 AM
Tree Lover
I want to create a python code which gives me the sum, avg of odd numbers between the two numbers the user entered. (While loop)
python
python3
4 Votos
21 Respostas
10th Aug 2021, 6:55 AM
Dark Knight
Write a program in Java to display 50 consecutive odd numbers
for
while
1 Voto
1 Resposta
7th Feb 2017, 12:56 PM
Shyam Sundar Mundhra
Can anyone explain a formula for determining odd and even numbers in loops.
and
evens
odds
-1 Voto
2 Respostas
22nd Dec 2021, 8:06 PM
Robert Britton
How to sort only odd elements in array, evens stay where they are? Thanks.
c++
2 Votos
1 Resposta
27th Mar 2022, 6:07 PM
TeaserCode
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
3
4
5
...
8
Próximo >
Quente hoje
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes