Cursos
Iniciar sesión
Comenzar a aprender IA
Cursos
Iniciar sesión
Comenzar a aprender IA
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
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 Voto
4 Respuestas
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 Votos
3 Respuestas
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 Votos
1 Respuesta
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 Votos
4 Respuestas
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 Votos
4 Respuestas
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 Votos
4 Respuestas
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 Votos
5 Respuestas
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 Votos
4 Respuestas
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 Votos
2 Respuestas
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 Votos
2 Respuestas
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 Votos
4 Respuestas
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 Votos
11 Respuestas
17th Dec 2016, 2:43 PM
Alaghusooriya EM
Find a number the number which is entered by the user is even or odd without using modules (%) operator?
c++
2 Votos
3 Respuestas
10th Nov 2016, 6:13 AM
DEATH WALKER
Can someone help me out?
even
java
odd
0 Votos
1 Respuesta
9th Mar 2020, 6:26 AM
Ashutosh Mulky
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 Votos
4 Respuestas
12th Mar 2020, 4:51 PM
Tan
What is wrong with my code?
and
even
java
numbers
odd
0 Votos
7 Respuestas
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 Voto
4 Respuestas
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 Voto
4 Respuestas
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 Votos
3 Respuestas
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 Votos
2 Respuestas
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 Voto
3 Respuestas
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 Voto
5 Respuestas
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 Voto
3 Respuestas
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 Votos
13 Respuestas
1st Dec 2017, 3:41 AM
Ashutosh
Code Coach Even Numbers Bug?
bug
codecoach
even
odd
python
1 Voto
3 Respuestas
27th Jul 2020, 12:25 PM
Brave Tea
How to create this program??
even
java
odd
or
0 Votos
5 Respuestas
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 Voto
2 Respuestas
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 Votos
4 Respuestas
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 Votos
2 Respuestas
5th Apr 2020, 10:27 PM
Federico Di Stefano
Help me to solve this
even
help
odd
python
1 Voto
2 Respuestas
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 Voto
3 Respuestas
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 Votos
4 Respuestas
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 Voto
3 Respuestas
20th Oct 2021, 9:50 AM
Caesar Kent
I think my logic here is ok but it's going into infinite loop why?
bugs
c_program
c,
odd
odd_number
2 Votos
3 Respuestas
21st Jul 2023, 9:18 AM
Abdullah Al Zunaid
How do I solve this? Please help
loops
numbers
odd
python3
sum
0 Votos
4 Respuestas
7th Oct 2019, 5:12 PM
Sundram Raj
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 Votos
2 Respuestas
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 Votos
2 Respuestas
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 Votos
5 Respuestas
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 Voto
9 Respuestas
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 Voto
6 Respuestas
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 Votos
3 Respuestas
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 Votos
2 Respuestas
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 Voto
3 Respuestas
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 Voto
1 Respuesta
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 Votos
2 Respuestas
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 Votos
6 Respuestas
21st May 2021, 7:19 PM
Motlatso Windy
sort an array
array
ascending
descending
even
odd
sort
2 Votos
6 Respuestas
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 Votos
4 Respuestas
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 Votos
3 Respuestas
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 Voto
2 Respuestas
22nd Feb 2017, 6:12 PM
Vanja Pin
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
6
7
8
Siguiente >
En tendencia hoy
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
C Program
0 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes