New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Read a txt.file and find max, avrg, odd, even, and prime?
input
java
output
0 Votes
13 Answers
28th Feb 2017, 12:59 AM
Winiata Hunia
how to print, odd, even, factorial, prime, fubonacci, together?
c++
comments
0 Votes
2 Answers
18th Jul 2016, 1:27 AM
Chenga Tsering
I need help writing a Python function for checking Even, Odd and Prime numbers
even
functions
odd
prime
python
0 Votes
4 Answers
21st Apr 2017, 9:31 PM
Nikhil Thakur
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
Fill in the blanks to take the numbers from the list while they are even, using the takewhile function. from itertools t
[2
=
4
6
7
9
from
itertools
nums
takewhile
1 Vote
6 Answers
12th Jul 2018, 10:28 AM
Patrick Mita
I am confused, my Arduino Uno looks like counterfeit but it works fine. And even, some componentslook exactly orginals.
arduino
fake
real
2 Votes
4 Answers
29th Oct 2017, 12:05 AM
Prabhakar Dev
Magic number Game The sum of two products is even, in the latter case it's odd. Checking the parity of the sum, the game can immediately tell which number you selected.
c++
comments
-2 Votes
2 Answers
1st Aug 2016, 6:51 AM
Yussif
Does anyone know the code for the program, if the number is even, odd, positive or negative, using the recursive?
c++
0 Votes
2 Answers
23rd Sep 2020, 11:29 AM
mohammad abas
Create a classic FizzBuzz program in python that loops from 0-100 and outputs FIZZ when the number is even, Buzz when the numbe
help
python
urgent
-1 Vote
5 Answers
21st Apr 2022, 10:43 PM
Fahad Sheriff
I want explanation for this code, please.
c
even,
odd,
program
0 Votes
3 Answers
1st Jul 2019, 12:33 PM
David Boga
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
[SOLVED] How to create animation in Python?
2 Votes
[Clearified] 0 === -0 and 0 == -0
4 Votes
Why printf("%p", x); shows the same address as printf("%p", &x); ?
2 Votes
How to stop pop up menu from qt table horizontal header
0 Votes
What next?
0 Votes
Popsicle program
1 Votes
Why are not all the codes showing?
0 Votes
How to learn Web Development?
0 Votes
Why 'null >= 0' is TRUE?
3 Votes
R programming
2 Votes