Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
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
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 Vote
3 Answers
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 Vote
3 Answers
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 Votes
2 Answers
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 Votes
4 Answers
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 Votes
2 Answers
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 Vote
2 Answers
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 Votes
5 Answers
2nd Sep 2020, 2:26 PM
Devendra Virat
Why do I often get errors on fine html codes?
all
errors
html
javascript
odd
2 Votes
2 Answers
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 Votes
4 Answers
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 Vote
1 Answer
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 Vote
2 Answers
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 Votes
2 Answers
23rd Jan 2017, 6:56 PM
Vanja Pin
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 Votes
4 Answers
31st May 2017, 5:23 PM
Umair
What is wrong with this code looking for even numbers?
coach
code
even
numbers
odd
python
0 Votes
3 Answers
18th Jul 2021, 10:49 AM
blackfish
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 Vote
2 Answers
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 Vote
2 Answers
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 Votes
2 Answers
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 Votes
2 Answers
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 Votes
2 Answers
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 Votes
1 Answer
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 Vote
3 Answers
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 Votes
9 Answers
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 Votes
6 Answers
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 Votes
3 Answers
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 Votes
4 Answers
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 Vote
2 Answers
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 Votes
2 Answers
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 Votes
1 Answer
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 Votes
1 Answer
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 Vote
2 Answers
21st Sep 2017, 5:07 PM
Chinmoy
why got it this result in array.filter? javascript
%
array
even
filter
function
mod
odd
0 Votes
3 Answers
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 Votes
8 Answers
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 Votes
3 Answers
24th Nov 2021, 11:20 AM
Sheng
Why does this not work?
challenge
even
help
odd
python
why
2 Votes
2 Answers
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 Votes
3 Answers
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 Vote
3 Answers
10th Dec 2017, 4:27 AM
abhrodeep chanda
What is this error?
challenge
error
even
help
odd
or
python
what
why
3 Votes
4 Answers
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 Vote
4 Answers
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 Votes
2 Answers
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 Votes
2 Answers
15th Jun 2016, 6:56 AM
Abdulai Torfik
C++
1
30
c++
even
from
in
odd
sum
switch
to
0 Votes
2 Answers
24th Jan 2017, 12:27 PM
Kirshan Singh Rajput
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
7
8
Next >
Hot today
I am beginner,This is will be right code?
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
Kernel in Jupyter
2 Votes
How many days will It takes to completely learn front end
4 Votes
Solved# Survey data format in coding for data
1 Votes
SQL
2 Votes
Solution to solving this bugged problem
2 Votes
JAVA PROGRAMMING
1 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes