Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
let size = 8; let board = ""; for (let y = 0; y < size; y++) {for (let x = 0; x < size; x++) { if ((x + y) % 2 == 0) {
javascript
1 Vote
2 Réponses
21st Nov 2019, 7:42 AM
Charles $now
instead of asking user to input coefficients of quadratic equation for its solution can I directly input quadratic equation to get its 2 solution
functions
python
0 Vote
2 Réponses
16th Aug 2016, 6:18 PM
Anurag
when there are 2 default arguments defined for both parameters of method, is there a way to call this method and pass it argumen
methods
parameters
ruby
0 Vote
2 Réponses
5th Mar 2017, 11:49 PM
Artem
Please help on below lines: i could not able to input 2 values. After getting value of N, throwing error at line 3
if-statements
python
0 Vote
2 Réponses
15th Nov 2017, 4:22 AM
Mohammed Farook
Guys please in this program i want to ask user to enter his desire 2 numbers and print the numbers between them using for loop
c++
program
progress
0 Vote
1 Réponse
27th Feb 2019, 8:59 AM
Jabir
I created 2 svg circle. Both have the same width height and are in same x and y axis measurements. Why they don't overlap??
circle
html
html5
svg
0 Vote
2 Réponses
16th Jun 2017, 6:05 AM
👍Challenge the W . O . L . F👈
I have to code an algorithm.We enter 2 digits for coordinates of a point, the result must be where the point is-black or white?
c++
0 Vote
2 Réponses
11th Nov 2016, 5:29 PM
Martin Veselinov
Why is this code not running ???
2
c++
compilation
equations
error
in
linear
variables
0 Vote
2 Réponses
23rd Jun 2018, 5:46 PM
Kanishk Mewal
Could anyone tell me why the 1st result is 2 while the 2nd result is 2.5? I mean why the1st one is and integer and the 2nd float
c++
help!
3 Votes
1 Réponse
9th Aug 2017, 8:51 AM
RiGeL
excuse me. help me to how coding( use looping for )this output 10 + 8 + 6 + 4 + 2 = 30 10 + 8 + 6 + 4 = 28 10 + 8 + 6 = 24 10 + 8 = 18 10 = 10 ======= + 110
c++
cout
loops
output
1 Vote
12 Réponses
8th Jan 2017, 11:09 AM
Rina Mirushita
What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes? Why it prints 65496
c
0 Vote
1 Réponse
31st Jul 2019, 4:01 PM
Shaik Abeedh
Is this real right now I'm a level 2 and this is how many points I am from level 3: 149xp to 149xp. What level are u?
xp
1 Vote
2 Réponses
1st May 2017, 12:24 PM
Clash_om
Let's say I have this list a= [1 2 3 4] is it possible to convert it to a normal comma separated list like this a = [1, 2, 3, 4]
lists
python
0 Vote
4 Réponses
8th Nov 2017, 3:08 PM
thanos moraitis
Hello How to solve this program: implement a program mips which allows to read 2 matrices whose dimensions are given by the user
assembly
-1 Vote
1 Réponse
27th Jun 2020, 11:41 AM
FAssaf
I want to make typing tutor program so how can I put timer in that and let user type only for 2 mins.
tutor
typing
0 Vote
1 Réponse
11th Apr 2017, 2:48 AM
Vijay Chavda
Can I know where I am going wrong in the code because out of 5. 3 are correct and 2 are wrong. It’s snail climb project.
javascript
0 Vote
1 Réponse
5th Sep 2022, 5:45 PM
Joshua Nochina
Trying to code triangle numbers from 4 ie 4 + 3 + 2 + 1. Why does it not work with the while loop. Appreciate your comments...
recursion
recursive
trianglenumbers
0 Vote
2 Réponses
16th May 2021, 4:32 PM
Grandad
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
and
bad
coding
math
probably
0 Vote
2 Réponses
19th Oct 2017, 3:01 AM
Patrick
concat() will take only 2 arguments, concat(city,', ',state) is not working in Oracle. How did you get solution with it please clarify my doubt.
concat
sql
0 Vote
2 Réponses
14th Jun 2015, 5:20 PM
gnani
I made a tic tac to programm, but my problem is that when player 1 played, the map is reset when player 2 plays...
python
0 Vote
2 Réponses
22nd Jan 2017, 6:05 PM
Marv
2 classes base class - A & derived - B .How to access private member(n) which is declared in A to B as A::n
c++
0 Vote
2 Réponses
3rd Sep 2017, 9:51 AM
Pratiksha Chikhale
can someone rewrite this as for loop? and A Do while loop also. int i = 0; int value = 0; while (i <=20){ if (i % 2 == 0 && i <= 10){ value = value + i * i; } else if (i % 2 == 0 && i > 10){ value = value - i; } else{ value = value - i; i = i + i; }
java
loops
0 Vote
3 Réponses
29th Sep 2016, 1:32 AM
Nhyn Ojastro
I have an excel sheet containing 2 columns .ex of first column[sil th ih s sp m ae n sp] I want to convert this first co
c#
0 Vote
2 Réponses
11th Mar 2017, 8:45 PM
Doaa Mohamed
I need code of input user and passord
1
2
code
codeplayground
input
password
python
python3
user
1 Vote
2 Réponses
23rd Aug 2018, 2:50 PM
zombie05
>>> def even(X): ... if X % 2 == 0 : return True ... else: return False ... >>> filter(even, [0,1,2,3,4,5,6]) [0,2,4,6] How to get that output, help please...
python
0 Vote
3 Réponses
14th Sep 2016, 11:07 PM
Vinh Le
What will be the output of the following my_dict = {} my_dict[1] = 1 my_dict['1'] = 2 my_dict[1.0] = 4 sum = 0 for k in my
tell
-3 Votes
3 Réponses
28th Jan 2022, 7:49 AM
Sampada Sharma
After completing this course can i make an app
2
an
app
can
i
in
java
make
months
0 Vote
4 Réponses
15th Jan 2017, 9:32 AM
Amisha
What is the role of array capacity in java? In the below code i set array capacity to 2 there are 4 array is defined & no error.
arrays
java
1 Vote
2 Réponses
7th Feb 2017, 1:16 AM
Sahil
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
c++
0 Vote
1 Réponse
28th Dec 2021, 9:22 PM
Abdelbaset Mohamed
how to solve project 2 in java Q2 is U take a loan from a friend and need to calculate how much u will owe him after 3 months.
.
0 Vote
2 Réponses
13th May 2021, 8:43 PM
yitbarek mulugeta
Had that awkward moment? When u lose a challenge due to keyboard or network error and u rematch only 2 actually fail more qstn
challenge
coding
quiz
ranking
1 Vote
1 Réponse
1st Aug 2017, 11:53 AM
akpan ifiokobong
Write a program that compares the time of execution of different methods of calculating the gcd i.e gcd1 gcd 2 gcd 3 and gcd4
answer
please
-4 Votes
1 Réponse
10th May 2017, 5:50 PM
💀Bena☠
I have a file of 2 columns .How I get the difference between them and put the output in a new file in c#?
c#
difference
0 Vote
1 Réponse
13th Feb 2017, 5:04 PM
Doaa Mohamed
I want to insert records based on preferred day and number of visits.if pre day 2 and visits 4 how insert into calendar ?
python3
0 Vote
1 Réponse
14th Sep 2017, 11:35 AM
Gokulakrishnan M
Два игрока играют в следующую игру.Перед ними лежат две кучки камней, в первой из которых 1, а во второй – 2 камня. У каждого
c++
0 Vote
1 Réponse
25th Feb 2019, 8:30 AM
Алексей Дороничев
Can Android studio run ok on 4gb ddr2 666ghz dual channel ram and core 2 duo 3.16ghz processor?and is the same true for pycharm?
android
python3
0 Vote
1 Réponse
12th Mar 2019, 2:47 PM
Manav Sengupta
How do I make a program that shows the numbers of even numbers from 2 to 50 in descending order, not including 10 or 40
java
loops
numeric-operations
nunbers
0 Vote
2 Réponses
31st Oct 2017, 12:30 AM
Anthony
assume user can input 2 integers, let it be (15,3) so we have to print all the possible sums of 3 digits which equals input1(15)
java
logic
0 Vote
2 Réponses
11th Jul 2017, 2:01 PM
Jay Parekh
WAP in c++ a class name item that contain 2 variable and cost in pvt sec & put and create a obj in main print no. Of cost
c++
classes
function-arguments
functions
generators
objects
print
public
0 Vote
1 Réponse
18th Jun 2021, 3:20 AM
Kartik Yadav
If I am to choose OOP language which 1 would you encourage me 2 go for.. Java, c++ or c# ? N why would you recommend me 2go4it
c#
c++
java
1 Vote
2 Réponses
15th Jan 2017, 2:29 AM
shebby clement
in sql database how to map data of 2 table ..1 common field but in one table its data type is 111111A and in other 111111 only
sql
0 Vote
2 Réponses
22nd Nov 2016, 4:10 PM
Chander Mani
I want 2 scan age directly n place that in if statement. (Input of age have to place in age in if statement).can any1 correct me
else-statements
if-statements
java
0 Vote
2 Réponses
29th May 2017, 1:38 PM
Priya Prathi
How to separate the string into the integer within python language?
"the
1
2
and
bottle
bread
got
list
milk."o
of
of
pcs
string=
the
-1 Vote
7 Réponses
17th Feb 2021, 4:01 AM
Wan Jun Wei
Why does this not give me this 15 beep 14 13 12 11 10 beep 9 8 7 6 5 beep 4 3 2 1 (imagine each one of them is in ligne)
c++
0 Vote
2 Réponses
14th Nov 2022, 5:24 PM
haythem DRIDI
How can I make my web page to from page 1 to page 2 like of I have a login page and another page that shows the user that he is
<
0 Vote
2 Réponses
11th Jun 2020, 7:20 AM
Sonwabo Matola
Why in HTML there is 2 types of tag <b> and <strong> whether there meaning is same that is to bold the word or sentence?
html
0 Vote
1 Réponse
17th Mar 2018, 1:28 PM
Aniket Shaw
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
java
-1 Vote
1 Réponse
15th Dec 2016, 9:00 PM
Nashwan Aziz
Why does my if else statement not execute with addition if the user input is [c = +, a = 2 & b = 3]
#beginner
#ifelse
#java
0 Vote
1 Réponse
29th Dec 2017, 1:51 AM
Nibras Alam
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
javascript
-2 Votes
1 Réponse
17th Dec 2016, 6:43 PM
Nashwan Aziz
What will be printed to the screen after the following statements? let b = 20 var a = 5 a = b let c = b * (a > 10 ? 2 : 3) print
swift
0 Vote
2 Réponses
30th Jun 2020, 8:56 AM
D’ Koder
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
42
43
44
Suivant >
Aujourd'hui en vedette
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