Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
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
Can you help me explain abstract for java in the simplest way? Until the moment I don't understand it, even though I tried.
java
0 голосов
3 ответов
19th Jul 2018, 7:40 AM
Ibrahim Kadri
How to write a c program that will print all even numbers from 2 to x, user must input the max.value using for loop?
for
loops
0 голосов
4 ответов
9th Jan 2018, 12:03 PM
Mae Ann
Why does this not work?
challenge
even
help
odd
python
why
2 голосов
2 ответов
1st Feb 2018, 10:14 PM
Raphael Shay
This is rather a complain than a question, I have not been able to pass the second test given to me even with all other options
<><\>
0 голосов
3 ответов
23rd Aug 2019, 3:14 AM
Marvellous Ayomide
Please refer to the code below and explain me the following : 1. Why does only one value get printed even if we are using return
c++
function
function-return-type
return
type
0 голосов
4 ответов
26th Sep 2020, 8:04 AM
Garvita Bhateja
I get irritated most often when i see errors on my screen !! I don't even sleep until i clear errors but this is disgusting ..?
advice
code
debug
errors
expert
friend
program
3 голосов
3 ответов
8th Dec 2017, 5:43 AM
D.soundharya
Am trying to us php in my pc but it seems like nothing is happening even a hello world statement is not showing ..what to do
.
help
php
3 голосов
2 ответов
29th Dec 2020, 11:07 AM
KcK
Is there a way you can give output bevor asking for input? Our even better rotatory (output, input, output, input, output)?
input
java
1 голос
2 ответов
24th Sep 2017, 2:30 PM
Selty
Write a program in java using an array to check if a set of numbers is even or odd. The user have to input the numbers in arrays
help
0 голосов
6 ответов
2nd Jun 2018, 3:50 AM
kama nick
how can i get 50% of horizontal line from left in output? why it is placed in center of the screen even there is no attribute in <hr width="50%" />?
attributes
html
6 голосов
4 ответов
25th Jul 2016, 7:07 PM
Dhana sri sowmya avidi
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
My code is still not showing the colorsi added to it even after trying it in notepad++ why😫. Please some one help me
html
html5
0 голосов
2 ответов
23rd May 2019, 9:29 AM
Brown Shuga
You are given a program that outputs all the numbers from 0 to 10. Change the code to make it output only the even numbers.
wrong
0 голосов
2 ответов
3rd Mar 2022, 9:48 AM
P Bharath
such an unfair challenge system lol challenged 5 guys to a quiz and 36 not 24 hours the quiz expired and i didnt even get xp
sololearn
0 голосов
3 ответов
12th Apr 2019, 7:14 PM
Alex Bogorad
I really don't understand this "Object" stuff in java script. I don't even know how to use it please is there any better explana
javascript
0 голосов
2 ответов
12th Jan 2020, 8:30 PM
Precious Boy
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
After you put the condition, why do people open up these curly brackets { } If u don't have to even put it..?
else-statements
if-statements
2 голосов
2 ответов
17th Dec 2017, 2:02 PM
Eli Bitton
Does 'continue' only work with the for loop or does it work with other loops or even without loops?
java
loops
0 голосов
1 ответ
31st Jul 2016, 9:42 PM
cocoacheescakemuffin
Some people say that minecraft is coded only with bedrock and it can even play on computer.Is that true?
bedrock
minecraft
mojang
-4 голосов
2 ответов
31st Jul 2021, 8:50 AM
Nyan Swan Saung
Why does the console keep on showing error on line 7 when there isn't even any code in it. BTW, this piece is like my rough work
console
error
js
0 голосов
4 ответов
7th Aug 2020, 9:20 PM
Iloka Nadia
If u get a input from.user for example 4 and want to generate a loop of even numbers if u generate numbers like 2,4,6,8 then how
2
a
example
from
get
if
input
u
user
1 голос
3 ответов
10th Jun 2018, 12:58 PM
Hassan Abbas
My boss is set on using Ms SQL server with PHP. Should a hybrid like this even be considered for production?
dblib
microsoft
mysql
odbc
php
sqlserver
1 голос
1 ответ
9th Mar 2019, 11:00 AM
Dave S
Guys any help how and where to make legal money online with as a programmer or IT literate?
even
help
info
me
with
0 голосов
1 ответ
9th Dec 2016, 10:25 PM
sidiq
In this program; when i have set the capacity to 20 and tried to print that it is even printing the same as initial .why?
java
strings
1 голос
2 ответов
14th May 2018, 1:19 PM
himani
Pls why is the audio in this code taking time to play even after I used onload function it still stops at some part
css
html
javascript
0 голосов
2 ответов
23rd Jul 2022, 11:52 AM
Coder X
Is learning more languages necessary even though you know what you want to do or just focus on single language?
career
guidance
0 голосов
2 ответов
16th Aug 2017, 12:21 PM
Ankur Gokhale
multidimensional array / why does it says "array doesnt have that many of arrays inside it" even though it is 0 index based
c
c#
csharp
1 голос
1 ответ
6th Jun 2022, 3:58 AM
Mohammad _io_
Why is it so easy to learn Python but when it comes to writing code you encounter errors you didn't even know existed.
python3
0 голосов
2 ответов
12th Aug 2019, 9:42 AM
Lewis Muriungi
Css transparent sections in an image and i need a div behind it that is locked into place even by responsive layout?!
css3
html5
positioning
1 голос
1 ответ
29th Aug 2019, 5:07 PM
Rawad Abdul Salam
Even if I don't add a 'return' statement, the program still runs and gives same output. Can anyone pl explain the difference?
return
1 голос
2 ответов
2nd Nov 2016, 7:37 AM
Samyak
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
Which python IDE that I can download from my phone later on send it to my laptop windows 7 and 32 bit ? Or even link.
python
2 голосов
2 ответов
19th Sep 2020, 2:27 PM
Muhammad Abdulmalik
How much time should be spent on trying, if we couldn't able to build a logic for a cp question, even after understanding theme.
@helpforbegginer
0 голосов
2 ответов
6th Mar 2021, 2:26 PM
sanju bhargav
How can I get the sum of items in a list after removing even numbers by an iteration.Someone to help👋 Here is my code
python
0 голосов
2 ответов
23rd Feb 2021, 4:47 AM
Emmanuel Kipngeno cheruiyot
sorry guys i have not coded in for ever ill like to know wat is the tag in html to change font color possible even the size
html
0 голосов
3 ответов
22nd May 2020, 10:02 PM
Nathaniel Shipman
Please am new and i basically know nothing even the explanations giving to me are too hard ao can someone just explain to me how
c++
1 голос
2 ответов
4th Jan 2019, 11:12 AM
Agbor Ryan
Why do we use ' *' in function declaration when we are returning array from a function even if the array points to first element
arrays
c
pointers
0 голосов
2 ответов
18th Aug 2020, 12:20 PM
Ankush Kurmi
Hi! I'm a newbie here, just wanna ask about what does this sign "%" do in these codes, def even (x) if x % 2 == 0: ?
functions
python
1 голос
5 ответов
31st Mar 2017, 1:20 AM
Arvin Orpilla
What is the significance of c++, even compared to innumerable other computer languages, why is it so widely used and if new programming languages are created, why are the older ones used (like c++98)
c++
lambdas
1 голос
9 ответов
22nd Jul 2016, 7:14 PM
Aishwary Chauhan
what is the python code to create a list of even numbers b/w 100 and 200 using range function and dispaly it using while and for loop
python
range
-1 голос
5 ответов
7th Nov 2016, 3:40 PM
Anju kv
Don't you guys think that it would have been great had we had a chance even to text the friends we meet here?
display
0 голосов
3 ответов
20th Mar 2017, 11:12 AM
Biraj Adhikari
Why we write as 'return 0' at the end of the code? Even though I write as return 1 or return 100 or return 1000 it gets executed
c++
2 голосов
4 ответов
13th Oct 2017, 4:18 PM
Manikanta
For some reasons border-style: hidden; don't work with me it is like no border at all even i make border-width 100px
border
css
0 голосов
1 ответ
25th Mar 2020, 1:14 AM
aya sahloul
Can anyone help me ,,,,,,, ,,how I can combine Java and python at a single program ,,,,,,,,,,,,,,,or is it even possible
please
0 голосов
1 ответ
12th Aug 2020, 3:30 AM
Sumit Sinha
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
Can i get out of a computer science class in high school as a freshman, even though its second quarter?
*blowmybrainsout*
help
helpme
iwannadie
kms
letmeoutofmyysery
please
python
sad
smh
-3 голосов
3 ответов
14th Nov 2017, 8:54 PM
Nicole Albright
I need a function that counts odds and even numbers in a list. This is what I have so far
python
0 голосов
1 ответ
1st Oct 2017, 7:23 AM
Reginald Wright
Why does SoloLearn suggest users to be friends with other users even though they only give the option to "Follow"?
follow
friends
sololearn
0 голосов
1 ответ
6th Dec 2017, 1:15 PM
1604064_Sharif
How can I write a c++ program to print the summation of even digit for any read number in the keyboard ??
linkedlist
0 голосов
2 ответов
18th Mar 2017, 7:25 PM
Khitam Aloudat
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
22
23
24
25
Следующий >
Актуальное сегодня
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes