Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Write a python program which will ask user to enter positive integer. Your program will output a message that indicates if this number is an even or odd number for example- if user enter 5 your program can output a message like"number 5 is an odd number"
python
1 Vote
4 Answers
28th Jan 2017, 2:36 AM
Parita Shah
How can an array be used to add all odd numbers in a certain range of numbers eg from 1-100
c
java
3 Votes
3 Answers
19th Feb 2017, 6:16 AM
Bukuru Henry
Write a program in java to generate a Spiral Matrix of order n*n, where n must be an odd number.
java
0 Votes
1 Answer
13th Jun 2019, 10:43 AM
MANAS RASTOGI
Given a list of integers (1-10). Write a code to calculate and display the sum of all odd numbers.(using loop)
loop
python
0 Votes
4 Answers
3rd Oct 2018, 2:01 PM
partha
Write a program in C to display the n terms of odd natural number and their sum . Using while loop
c
0 Votes
4 Answers
16th Feb 2021, 2:21 AM
Rey Cardama
fill in the blanks to find out whether the value of "a" is an odd number or even number
c++
0 Votes
4 Answers
12th Sep 2016, 3:13 PM
rohtan singh
anyone help with c++ programing for odd and even number where the program prompts the user to enter a guess and report the guess
c++
0 Votes
5 Answers
5th May 2022, 9:26 PM
GIVEN NICOL
Anyone help with how to write a c language that generates odd numbers from 250 to 850 using the for statement.
c
-2 Votes
4 Answers
5th Dec 2020, 8:36 AM
Khalid Zak
How can write a program to count total even and odd numbers in any 10 numbers .
c
0 Votes
2 Answers
7th Nov 2017, 6:20 PM
HighFlyer
How to check the square number in net beans? I wanna check that number also odd number. Any method?
ny
0 Votes
2 Answers
22nd Dec 2019, 5:25 AM
Rakshika Radhakrishnan
Input a list, sort it using bubble sort and print the sorted even elements before the sorted odd elements in a single list.
bubblesort
python3
2 Votes
4 Answers
26th Nov 2019, 3:34 AM
Azmat
what is output of this code ? //code for sum of first 10 odd numbers using //for loop .. verify and it is correct or //incorr
java
2 Votes
11 Answers
17th Dec 2016, 2:43 PM
Alaghusooriya EM
Can someone help me out?
even
java
odd
0 Votes
1 Answer
9th Mar 2020, 6:26 AM
Ashutosh Mulky
Find a number the number which is entered by the user is even or odd without using modules (%) operator?
c++
2 Votes
3 Answers
10th Nov 2016, 6:13 AM
DEATH WALKER
How do i write a function that accepts a tuple of numbers and return a tuple with odd numbers squared? Eg ((1,2,3)) becomes
python
0 Votes
4 Answers
12th Mar 2020, 4:51 PM
Tan
What is wrong with my code?
and
even
java
numbers
odd
0 Votes
7 Answers
2nd Oct 2021, 8:00 AM
Bobby Dike
Create a C++ program that contains two functions namely odd and even. The functions will determine if the entered number is od
none
-1 Vote
4 Answers
2nd Dec 2021, 12:32 PM
SHABUTOYS
How do I write a c++ program to output all even numbers, all odd numbers and all prime numbers within a given range?
c++
1 Vote
4 Answers
23rd Apr 2018, 6:41 PM
STT
Make a program to accept a[10] and another array b[10] which have odd values first followed by even values.
c++
0 Votes
3 Answers
17th Nov 2016, 4:49 PM
rashmi bansal
Write a program to sort elements in the array with odd index number in ascending order and elements with even index number in
c
2 Votes
2 Answers
2nd Dec 2022, 4:42 PM
Ashwanth
Input a list of numbers and swap elements at the even location with the elements at the odd location.please tell any other appro
python
python3
1 Vote
3 Answers
30th Jan 2022, 5:12 PM
Aditya Pradhan
Anyone know's how to sort odd and even number with array in c language ? If you know please show me how to do it
c
1 Vote
5 Answers
8th Nov 2019, 4:14 AM
Susetyoadhi
who can write a c++ program that reads an integer and determines and prints whether it is odd or even.
c++
1 Vote
3 Answers
13th Jan 2017, 1:52 PM
Abdulla Muhamad
I am working on a code to calulate difference between sum of odd and even levels of a BST. Here I have used a statement s = s2;
c
stack
struct
0 Votes
13 Answers
1st Dec 2017, 3:41 AM
Ashutosh
Code Coach Even Numbers Bug?
bug
codecoach
even
odd
python
1 Vote
3 Answers
27th Jul 2020, 12:25 PM
Brave Tea
How to create this program??
even
java
odd
or
0 Votes
5 Answers
8th Apr 2017, 9:55 AM
Dexter Torres Gregorio
Make a program in C++ of even number from 50 to 0 and odd number from 49 to 1
c++
-1 Vote
2 Answers
3rd Dec 2021, 4:29 AM
Abdul Basit Khan
What is the c program to check number Is even or odd or a letter(like a,A,s etc) or a fractional number(2.23)
kamble
kunal
-3 Votes
4 Answers
15th Oct 2020, 3:13 PM
Kunal Kamble
My solution to "That's odd" doesn't work, and I dont'understand why. The #4 case remains always wrong.[SOLVED]
c++
help
odd
that'sodd
0 Votes
2 Answers
5th Apr 2020, 10:27 PM
Federico Di Stefano
Help me to solve this
even
help
odd
python
1 Vote
2 Answers
15th Aug 2021, 11:13 AM
Aakash Mitra
Given an array of positive even and odd numbers. We have to find the index of largest even number. Use that maximum even number
array
c
c++
devleper
help_me
java
java_program
solve
1 Vote
3 Answers
15th Nov 2018, 3:36 PM
Abrar Bandar
Write a program in c to enter 20 number in an array. Determine the sum of odd numbers and even numbers separately
c
0 Votes
4 Answers
12th Feb 2017, 2:04 PM
ankit pariyar
How do I write a code that accepts a number from the user and determin weather its even or odd in java
java
-1 Vote
3 Answers
20th Oct 2021, 9:50 AM
Caesar Kent
How do I solve this? Please help
loops
numbers
odd
python3
sum
0 Votes
4 Answers
7th Oct 2019, 5:12 PM
Sundram Raj
I think my logic here is ok but it's going into infinite loop why?
bugs
c_program
c,
odd
odd_number
2 Votes
3 Answers
21st Jul 2023, 9:18 AM
Abdullah Al Zunaid
C program that reads from the keyboard on character and displays on the screen: the number of digits odd using do while
c
program
programming
0 Votes
2 Answers
25th Nov 2021, 11:20 AM
Țurcan Petru
Write a c++ program that add n even numbers and multiply n odd numbers from a given positive integers?
c++
0 Votes
2 Answers
8th Jan 2017, 3:51 PM
Temesgen
The following code examine three variables -- x, y, and z -- and prints the largest odd number among them. If none of them is o
python3
0 Votes
5 Answers
29th Sep 2020, 10:40 PM
Ali Rezaei
All the even elements of the integer array K (n) are placed in the array L (n), and the odd ones in the array M (n). Calculate t
arrays
c++
1 Vote
9 Answers
2nd Nov 2017, 2:04 PM
Красавчик Том
[SOLVED] Please, could you explain where my problem is? Thanks for help.
array
input
java
loop
odd
sum
1 Vote
6 Answers
19th Sep 2021, 3:31 PM
mesarthim
Yeah Hi. Can someone help me with the Fizzbuzz question where you have to input odd numbers to get an output ranging from 1to15
python
0 Votes
3 Answers
23rd Jun 2022, 1:50 AM
Ananthakrishnan
You are given an array of size N. You want to maximize the sum of elements on the odd indices of array
array
0 Votes
2 Answers
28th Jan 2022, 6:10 AM
Pawan
How is the rounding code ?2.553 to 2.6 if the second decimal number is 5 and the first decimal number is an odd number, and ...
website
1 Vote
3 Answers
24th Jul 2022, 9:33 AM
Zulpakar
Array a[1,3,2,6,5,4,8,9,0] 1)Find the even numbers on the about array 2)Find the odd number position on the above array
php
1 Vote
1 Answer
5th Oct 2016, 8:11 AM
Vengateshwaran Sivakumar
[SOME HELP PLEASE] required any no. with odd no. of digit such as 199 or 19999 returned the same
c
c++
0 Votes
2 Answers
29th Jun 2016, 9:24 AM
Infinity
A program that takes as input a single line of text and display whether there are an odd or even number of dashes. In python
programming
-4 Votes
6 Answers
21st May 2021, 7:19 PM
Motlatso Windy
sort an array
array
ascending
descending
even
odd
sort
2 Votes
6 Answers
6th Feb 2020, 4:47 PM
George Listru
Write a python that asks the user to enter ten numbers then display the total and the average of only odd number among those ten
python3
-4 Votes
4 Answers
28th Jul 2020, 7:46 PM
Suraiya Binte Akbar(Aaisha)
Write a C program to display a string (say.."ict") 10 times and display its odd occurances in lowercase and even in uppercase
an
help
important
it's
please
question
0 Votes
3 Answers
26th Jul 2017, 2:50 PM
Anjali Nair
If a word contains an odd number of characters,you must replace the middle letter of the word use this sumbol "*"
c++
1 Vote
2 Answers
22nd Feb 2017, 6:12 PM
Vanja Pin
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
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
What is late happening in late binding
1 Votes
Why text takes time to load
1 Votes
Why my code closes when i choose a border and submit?
0 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