Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
why is it that if the var result is 20 and the result* = 5 why is the resulting value 1
javascript
operators
-5 Votes
8 Réponses
30th Jul 2017, 3:40 PM
Charlie Deane
I want to ask if c# = c++
c++
0 Vote
7 Réponses
12th Jun 2016, 12:35 PM
Deyaa El_deen Hazem Sabry
myArr[0][2] = 42; why we use this line
@chuppa
0 Vote
7 Réponses
13th Nov 2016, 8:45 AM
Taha Khan
Why 0.1 + 0.2 = 0.30000000000000004 (in Javascript)?
0.1+0.2
addition
javascript
3 Votes
1 Réponse
2nd Jul 2017, 6:28 AM
V13
dictionary2 = {'Key1': {'Key2': 'HSR'}, 'Key2':{'Key2' : 'HsR'},'Key3':'HSr'}
dictionaries
index
keys
python3
1 Vote
3 Réponses
13th Apr 2020, 12:38 PM
Sukanya Bag
Dim × As integer = 5 Do while × >=0 messagebox.show (×) × = × - 1 loop?
infinite
loop
-1 Vote
4 Réponses
10th Oct 2021, 6:38 PM
Yumi cruz
public BufferedImage processImage(BufferedImage img){ int height =img.getHeight(); int width = img.getWidth();
w
0 Vote
16 Réponses
30th May 2019, 11:43 AM
Stefano
(i) char str = "hello"; (ii) char *str = "hello"; Why (i) is illegal and (ii) is legal?
c++
1 Vote
3 Réponses
24th May 2018, 12:14 PM
Rajkumar Tandel
Why <?php $a = 2; $b = $a++; echo $b; ?> is a=3 and b=2?
php
0 Vote
3 Réponses
5th Jul 2017, 12:19 AM
Sandra Curo
def tri_recursion(k): if(k > 0): result = k + tri_recursion(k - 1) print(result) else: result = 0 return resul
python
0 Vote
4 Réponses
2nd Oct 2020, 10:00 AM
Kumar Shubham
Tracking your BMI is a useful way of checking if you’re maintaining a healthy weight. It’s calculated using a person's weight an
=
bmi
weight/height
0 Vote
6 Réponses
13th Apr 2022, 9:05 AM
Alabi Ayodele
Int Main() = void main(void) ?
c++
main
void
1 Vote
2 Réponses
21st Feb 2017, 6:28 PM
Viktor Medvedev
What is the output of this code? int x = 1, y = 1, z = 1; cout << (++x || ++y && ++z); cout << x << y << z;
c++
0 Vote
4 Réponses
21st Aug 2018, 10:27 AM
Vedansh
letters = ['a', 'b', 'c'] for l letters print(l) what do i put in the blanks and why
help
loops
python
0 Vote
11 Réponses
11th Dec 2019, 10:50 AM
Jack Bradshaw
My_turtle = turtle.Turtle() My_turtle.forward(100) My_turtle.right(90) My_turtle.right(40) My_turtle.right(90)
variables
1 Vote
1 Réponse
3rd Aug 2019, 6:51 AM
Mudasir Ali
what is the different between = and ==
else-statements
python
2 Votes
5 Réponses
9th Jul 2017, 3:41 PM
Youssuf Abramo
self.weights = 2 * random.random((3, 1)) - 1
python
2 Votes
3 Réponses
29th Aug 2018, 4:44 PM
Pablo Escobar
Why in javascript, divide by zero = infinity????
0
divide
javascript
1 Vote
3 Réponses
9th Aug 2019, 8:36 AM
arieh
let total = 0, count = 1; while (count <= 10) { total += count; count += 1; } console.log(total);
javascript
1 Vote
3 Réponses
8th Nov 2020, 6:51 AM
Kayode Kolade Christopher
var s = document. getElementsByTagName(" "); (var x=0; x<s.length;x++) { s[ ].style.backgroundColor = "#33E
dom
javascript
0 Vote
2 Réponses
14th Oct 2016, 2:41 AM
Rita Kaye Gabutan
What is: end = "" in Python?
end="
print
python
python3
0 Vote
2 Réponses
16th May 2019, 7:51 AM
Mimi
hey how can convert a='45' to b = 45
python
strings
2 Votes
8 Réponses
25th Oct 2016, 6:44 AM
Narendra Nairy
the program must accept a string value and print it twice ex: input = bars output = barsbars
c
c++
0 Vote
2 Réponses
28th Jan 2019, 2:43 PM
Nikash
from itertools import accumulate, takewhile nums = list(accumulate(range(9)))
itertools
python
1 Vote
2 Réponses
26th Feb 2018, 6:39 AM
Ankush
What is wrong with my code. import re #your code goes heri x = (input()) pattern = r"(^1|8|9\d)(......)" if re.match (patte
python3
0 Vote
6 Réponses
9th Nov 2020, 10:05 AM
NIGHT LIGHT
Is this statement correct? float f = (float)1.4;
float
java
1 Vote
2 Réponses
26th Jan 2021, 8:49 AM
Alrabab Saeed
what is better: small marketing languages = more money, or popular languages = more usable
more_money
more_usable
old_languages
popular_languages
1 Vote
1 Réponse
19th Feb 2019, 6:05 PM
Shlomo Strauss
#include <iostream> using namespace std; int main() { int x = 5, y = 6, z = 50, sum; cout << sum; sum= x + y + z;
c++
1 Vote
2 Réponses
11th Jul 2019, 5:49 PM
Shrusti Singhaniya
$(function() { var txt = $("<p></p>").text("Hi"); $("#demo").after(txt); });
<p>
3 Votes
1 Réponse
9th Sep 2018, 12:34 PM
AVHIJIT NAIR
What's the difference between = and ==?
help
0 Vote
2 Réponses
9th Sep 2018, 8:57 AM
Filippo Passante
int function(struct node* head){ int var = 0; while(head->next != NULL){ var++; head = head->next; } return var; }
c
0 Vote
2 Réponses
11th May 2022, 12:41 PM
Ravi Kiran
9981 + 1601 = 2957 => 1080 + 9168 = ?(can you help me solve this question? it's so hard for me)
???
+
=
1080
9168
0 Vote
6 Réponses
7th Jun 2021, 12:41 PM
TCorn
How do I make a slash command??
=
if-statements
1 Vote
3 Réponses
5th Mar 2021, 3:55 AM
Him8=)
x = 2 while x < 400: print(x) x = x ** 2 while True: print(x**2, end=" ") if x == 400: break x = x **
python3
0 Vote
2 Réponses
6th Aug 2020, 12:23 PM
Ashish Singh
Why "static $i = sqrt(100)" leads to fatal error ?
php
static
4 Votes
4 Réponses
25th Sep 2019, 6:02 PM
UraL
jQuery syntax: var $div = $("<div>", test)
javascript
syntax
0 Vote
1 Réponse
6th Jan 2021, 11:57 AM
Prof. Dr. Zoltán Vass
function sum(n){for(var i = 1;i>= 5;i++ ){ let n=0; n+=i;}} console.log(sum()) //where is the mistake .why does it not work? //t
js
3 Votes
55 Réponses
3rd Mar 2021, 1:17 PM
Global Universe
how i can change type of float to the integer in this code,,,,,,,, x = 9 y = 3 print (x/y)
change
python
type
1 Vote
4 Réponses
12th Jun 2023, 10:43 AM
Amirhossein
Pls explain long num = 76_536_241;
data-type
help
initialisation
java
0 Vote
1 Réponse
6th Jun 2019, 10:54 AM
Heisenberg
Why is 5 - 4.99 = 0.0100002289? [SOLVED]
c#
float
2 Votes
4 Réponses
15th Jan 2017, 5:14 PM
Maike
In this statement -> printf("Pi = %3.2f \n", 3.14159); /* Pi = 3.14 */ %3.2, 3 indicate what?????
c
c++
challenger
cprogram
helper
programmer
sololearn
1 Vote
1 Réponse
4th Feb 2019, 2:56 PM
Balu Soman
how to make program when user input 3 output : 3! = 1 x 2 x 3 = 6
python
0 Vote
6 Réponses
18th Oct 2016, 2:52 PM
Gabriel Leon Kristi
struct student { int age; int grade; char name[40]; }; int main() { struct student s1 ={ .age = 18,.grade = 7
c
0 Vote
3 Réponses
27th Sep 2021, 6:26 AM
Gulafsha Syed
int arr[] = {1, 2, 3, 4, 5}; (int x = 0; x < 5; x++) { printf("%d", [x]); }
array
6 Votes
1 Réponse
17th Apr 2022, 4:14 PM
Arafat Rahon
siblings = int(input()) popsicles = int(input()) #your code goes here if popsicles % 2 == 0: print("give away") else:
helpwithsolution
0 Vote
2 Réponses
6th Jul 2022, 4:42 AM
shifa
What is the difference between 1. String s1 = new String ("abc"); 2. String s1 = "abc"; ?
constructors
string
1 Vote
1 Réponse
15th Mar 2019, 5:28 PM
Soma Venkata Sai Krishna
I can't get fully, if this: var a =10, var b = 3 var c = a℅(a -b) and the answer is = 3, but how?
operators
swift
0 Vote
3 Réponses
16th Dec 2015, 7:41 AM
Den Boyko
Code giving wrong answers : 30 * 10 = 150 and 10 * 10 = - 350 please help >.<
helpmeplz
0 Vote
3 Réponses
1st Aug 2020, 10:39 AM
Macathain
function multNmbrs(a, b) { var c = a*b; } multNmbrs(2, 6);
{
}
=
a*b;
b)
c
function
multnmbrs(2
multnmbrs(a
var
0 Vote
6 Réponses
30th Aug 2019, 7:26 PM
Basem Kreidly
Explain me the result of - z = ++a-y--
js
operators
1 Vote
5 Réponses
12th Aug 2021, 5:33 PM
Ofir Salem
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
11
12
13
...
38
Suivant >
Aujourd'hui en vedette
Void functional void with bool function
0 Votes
Python
2 Votes
Are websites hackable?
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes