Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
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 голосов
3 ответов
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 голос
2 ответов
22nd Feb 2017, 6:12 PM
Vanja Pin
How to write a program dat reads a set of integers then displays the sum of all even nos. & sum of all odd nos.
java
1 голос
3 ответов
16th Aug 2018, 5:52 AM
John Kevin Laurencio
Is this logic wrong? Q - Wap to add up all odd integers till 15. P.S - New to programming and this is my first language
c++
forloop
loops
1 голос
3 ответов
23rd Oct 2019, 3:50 PM
Dipanjan Basu
A list contains so many odd and even numbers. How can I separate even numbers from list ant it stored in a new fresh list.
lists
0 голосов
2 ответов
26th Sep 2021, 5:06 AM
Hambire Ranjeet
Write a program in java whereas no is even or odd and print only third even no.from 1 to 20 counting of number
main
void
-5 голосов
4 ответов
10th Jul 2019, 7:50 PM
DOLAT RATHORE
Give me a Java code to check whether the number is even or odd but without using any if else or conditional statement.
code
codeplayground
java
0 голосов
2 ответов
22nd Dec 2016, 11:27 AM
Dhairya Agarwal
Write a function in C++ to add 8 in all odd values and 6 in all even values of the array a....
arrays
c++
functions
1 голос
2 ответов
21st Mar 2018, 3:45 PM
Aditya Mishra
wap to define a list namely data in which 5 numbers are to be inputted from user. Find the sum of odd and even numbers from the
lists
0 голосов
5 ответов
2nd Sep 2020, 2:26 PM
Devendra Virat
Why do I often get errors on fine html codes?
all
errors
html
javascript
odd
2 голосов
2 ответов
8th Dec 2019, 11:33 AM
Ishmam
Make a program in which If the no. Is even then divide by 3 and when the no is odd then multiply by 7
c++
program
0 голосов
4 ответов
23rd Jun 2017, 3:02 PM
Sakshi Gupta
3. Write a program to print the following output for the given input. You can assume the string is of odd length .
c++
java
1 голос
1 ответ
28th Sep 2017, 12:04 PM
karthik
A programmer wrote a program to print odd numbers. He wanted to explain how the program works in the code, but he forgot to comm
fix
1 голос
2 ответов
21st Jan 2022, 4:49 PM
Noureddin
If a word contains an odd number of characters,you must replace the middle letter of the word use this sumbol "*"
c++
0 голосов
2 ответов
23rd Jan 2017, 6:56 PM
Vanja Pin
What is wrong with this code looking for even numbers?
coach
code
even
numbers
odd
python
0 голосов
3 ответов
18th Jul 2021, 10:49 AM
blackfish
In C++ I want to take input 1 for even number output and input 2 for odd number output. How I limit input to user.
cin
cout
for
int
while
0 голосов
4 ответов
31st May 2017, 5:23 PM
Umair
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-1 голос
2 ответов
17th Nov 2020, 9:13 PM
Prerna Keshkar
Any one can save this problem. I want output like [ [1,2] [3,5] ] , https://code.sololearn.com/c42C2c3hRp42/?ref=app
even
number
odd
payton
problem
1 голос
2 ответов
29th Feb 2020, 4:13 PM
Jimmy
Consider the odd series 1, 3, 5, 7.... 97. Write a function to this series up the last term. Hence print the sum and average.
c++
0 голосов
2 ответов
27th Nov 2018, 8:49 AM
Akelemor Bright Cleverly
Write an event driven JavaScript code to accept a number from user and display if it is even or odd number. *
html
-4 голосов
2 ответов
6th Nov 2020, 7:20 AM
Pranav Rananaware
if I want to print ten number by identifying whether it is odd or even by using for loop. how to do?
c++
loops
0 голосов
2 ответов
30th Aug 2016, 7:52 AM
dharmesh
How to write a C program to get 5 positive integer numbers from the keyboard and find the summation of all the odd numbers?
c
summation
0 голосов
1 ответ
14th Mar 2019, 2:48 PM
Niromy Kanthasamy
Given a set of 100 numbers write an algorithm to find the total number of even and odd numbers in the list. Also find their sum
algorithm
-1 голос
3 ответов
15th Apr 2020, 3:29 PM
Vedant Joshi
[SOLVED]simple string as input unexpected out put🧐🧐
code
codeplayground
coding
help
java
odd
output
problem
2 голосов
9 ответов
11th Jun 2020, 6:11 AM
hamid
Please I need help with debugging this code or writing it entirely
even
list
my_sort
odd
python
sets
0 голосов
6 ответов
9th Jun 2017, 12:02 AM
Obumneme Anichebe
Python: How to add numbers printed from a for loop from a specific range?
add
for
loops
numbers
odd
python
0 голосов
3 ответов
7th Nov 2019, 11:56 PM
broadenyourmindbnr
I want a python program (use function ) in which first we check the odd even then return both value and then print
check
even
function
odd
program
python
return
then
value
-4 голосов
4 ответов
19th Dec 2017, 3:08 PM
Avinash Rawat
Write an algorithm to find whether a number entered by a user is even or odd ? Hint: Even numbers are divisible by 2.
java
-1 голос
2 ответов
8th Mar 2017, 5:01 PM
Khulud Al-slman
How can you write a code that gets users inputs and declare weather odd or even and if even declares x.and( 2^x=user input )
import
math.pow
0 голосов
2 ответов
6th Dec 2017, 3:24 PM
Salami Umar
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-2 голосов
1 ответ
17th Nov 2020, 9:27 PM
Prerna Keshkar
How do I write a C program that generate odd numbers from 250 to 1000 using the for statement. test to ... continue in descripti
c
c++
0 голосов
1 ответ
19th Dec 2017, 1:14 AM
Stefan
1. To find the average of all even numbers btw the given range. 2.To find the average of all odd nos btw the gven rng
c++
-1 голос
2 ответов
21st Sep 2017, 5:07 PM
Chinmoy
why got it this result in array.filter? javascript
%
array
even
filter
function
mod
odd
0 голосов
3 ответов
16th Mar 2020, 5:40 PM
MetaCop
I want print just the odd lines from text how can I do that? I wrote this code but it print just the first line f=open('12.txt',r) n=0 while True: if n<=6: n=n+1 if n%2==1: lines=f.readlines ( )[n] print lines else: break
python
0 голосов
8 ответов
15th Aug 2016, 10:43 PM
sola
How to implement Stack data structure without using Stack Class? Base on the sample
and
even
java
numbers
odd
reverse
stack
0 голосов
3 ответов
24th Nov 2021, 11:20 AM
Sheng
Why does this not work?
challenge
even
help
odd
python
why
2 голосов
2 ответов
1st Feb 2018, 10:14 PM
Raphael Shay
[Please help ]Write a c++ program that accpet an integer number from the user ,in case the number is negative check and print out whether it is even or odd number
a
accept
an
c++
from
integer
number
program
that
the
user
write
0 голосов
3 ответов
31st Jan 2017, 2:20 PM
aulaelf
How to add graphic interface to a java program(game)?
even
game
graphic
interface
java
odd
user
1 голос
3 ответов
10th Dec 2017, 4:27 AM
abhrodeep chanda
What is this error?
challenge
error
even
help
odd
or
python
what
why
3 голосов
4 ответов
2nd Feb 2018, 5:33 PM
Raphael Shay
Why is the syntax wrong on line 17?
challenge
error
even
evens
help
odd
python
syntax
why
1 голос
4 ответов
4th Feb 2018, 3:11 PM
Raphael Shay
How do I get the even checks on the right?
checks
counting
document.write
even
javascript
loops
odd
while
0 голосов
2 ответов
1st Apr 2019, 10:48 PM
OrangeSword0999
How can I write a one-line pseudocode to check if an odd integer number is written in reversed order still remains odd, example 1245 to 5421 is still odd, but 2135 to 5312 is even.
c++
0 голосов
2 ответов
15th Jun 2016, 6:56 AM
Abdulai Torfik
C++
1
30
c++
even
from
in
odd
sum
switch
to
0 голосов
2 ответов
24th Jan 2017, 12:27 PM
Kirshan Singh Rajput
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
7
8
Следующий >
Актуальное сегодня
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
Solved# Survey data format in coding for data
1 Votes
I am beginner,This is will be right code?
0 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
JAVA PROGRAMMING
1 Votes
Solution to solving this bugged problem
1 Votes
SQL
0 Votes