Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the actual work performed by return 0 or return x (x is a variable)??
c++
0 Votes
2 Answers
15th Jul 2018, 9:13 AM
Shikhar gupta
Can I make a case in CPP that tests if x < 2 for example
c++
switch
0 Votes
1 Answer
14th Nov 2018, 5:12 PM
Platinoob_
what if we increase the value of x in for loop while working with array
arrays
c++
for
loops
0 Votes
2 Answers
11th Jun 2017, 6:21 PM
Manish Kumar
public class Program { public static void main(String[] args) { int[ ][ ] myArr = { {1, 2, 3}, {4}, {5, 6, 7} }; myArr[0][2] = 42; int x = myArr[1][1]; System.out.println(x); } } why it does not give any garbage value as output?
arrays
java
-1 Vote
4 Answers
9th Nov 2016, 6:21 PM
Sandesh
“Write a program to take x and y as input and output the string x, repeated y times” Help
python
2 Votes
4 Answers
5th May 2022, 5:42 PM
Kieran Vandenberg
the sequence of this code if not 1 +1 ==y or x ==4 and 7 ==8
operator-precedence
python
0 Votes
3 Answers
22nd Dec 2016, 4:07 PM
SealCLi
Why doesn’t this work when i use decimals for x ?(Double for 31 days calculator)
31
calculator
days
double
0 Votes
1 Answer
22nd Nov 2020, 2:14 AM
Jonathan Klein
Data Science - Average of Rows
[int(x)
=
for
in
input().split()]
n
p
x
-1 Vote
1 Answer
11th Nov 2021, 8:35 AM
Zaid Zren
how to represent any whole number in python? Say if x == any whole number print(x)? How to represent this?
python
2 Votes
8 Answers
29th Jun 2020, 9:19 PM
3.14
fill in the blanks to declare a class point with a constructor initializing its x & y members
a
blanks
class
declare
fill
in
point
the
to
with
0 Votes
3 Answers
4th Apr 2020, 3:38 AM
MARIO PEREZ SALAZAR
Why There are only two asterisks (**) between x & y in exponentiation if Python ?
exponentiation
python
0 Votes
2 Answers
27th Feb 2017, 6:18 PM
Nirmal Kakati
Why is 1 or 0 when i put x%=2 and my variable x i set 2 or another pair number
python
python3
1 Vote
5 Answers
3rd May 2020, 6:21 AM
Deysi Lucero Puscan Remon
C++ program to read (X) and then disting uish either X is an odd or even using (double)
c++
0 Votes
4 Answers
27th Oct 2022, 4:26 PM
Younis Ahmad
How do write python code to print the distance of two coordinates, x and y, using oop approach.
function-arguments
0 Votes
6 Answers
13th Feb 2018, 8:12 AM
Godwin Ekpenyong
Can someone help me write a code to calculate the determinat of a n x n matrix?
algorithm
java
math
python
0 Votes
2 Answers
21st Sep 2018, 7:39 AM
aplneto
How can I add a x and y axis to this code because I didn't create a plot it is just an illustration
astronomy
blackhole
math
plot
python
scipy
x
y
1 Vote
8 Answers
12th Mar 2024, 7:31 AM
P A Arrchith Iyer
What are the values of the variables s and x after running this piece of code?
ado
-1 Vote
2 Answers
18th Mar 2021, 5:56 PM
Charityn
Write a program that reads in numbers m, n and prints the letter X (capital X) m times
c++
-1 Vote
3 Answers
19th Jan 2022, 10:03 AM
RAJ VIKRAM
Find max in java array without sorting?
(int
int
max
x
0 Votes
4 Answers
9th Aug 2017, 8:51 AM
saurabh singh
Почему этот код выводит 6?
javascript
rus
while
x
1 Vote
2 Answers
2nd Dec 2018, 10:02 AM
MOKU
how can you write x raise to a power in HTML please help me I am so confuse
george
2 Votes
3 Answers
10th Jul 2018, 11:54 AM
George S Mulbah II
The symbol s and the natural number n are given. Print a square of s characters with size n x n.
c++
0 Votes
11 Answers
3rd Nov 2020, 5:13 PM
Ruslan
I know what to put at int result x _ _ but what would you put after printIn(___)?
java
operators
0 Votes
5 Answers
13th May 2017, 10:27 PM
IB Afifa
Evaluation Order Please , not 1 + 1 == y or x == 4 and 7 == 8:
python3
2 Votes
2 Answers
13th Jul 2022, 4:42 PM
Konda Sandeep
What is the difference between X and "X", when used as constants in C and describe their memory representation
c
language
0 Votes
4 Answers
6th Apr 2022, 6:05 AM
Pam Qeckie
I have given condition as if x>y and in console.WriteLine(x + y); the output is x + y.
c#
else-statements
if-statements
1 Vote
4 Answers
15th Oct 2016, 10:46 AM
vbm bhaskar
What is the difference between declaring a variable x with x=5 and assigning int *ptr= new int; *ptr=5?
c++
pointers
1 Vote
4 Answers
26th Aug 2017, 1:47 PM
Ironrobot
How the output of this code i.e value of x is 3 at the end of the program.
c
0 Votes
3 Answers
6th Jun 2019, 5:04 PM
RILEY
What does x += 1 this line do? I get same output even if I don't write this line
whileloops
0 Votes
4 Answers
18th Aug 2021, 2:17 PM
Tanvir Ahmed
. Write a program in c++ which defines a function power() to return x raised to y.
c++
-2 Votes
3 Answers
11th Jan 2022, 2:25 PM
Swati Singh
I just tryed an if statement in the code playground. But im lost on how to get the variable to work. Take a look!
help
python3
variables
x
0 Votes
4 Answers
8th Jun 2017, 7:57 PM
Edward Seton
When writing a switch, how can I specify a case in which x is greater than something?
javascript
switch
0 Votes
3 Answers
1st Dec 2017, 6:44 AM
Hessam Tayebi
C++ program to read (X) and then disting uish either X is an odd or even if number double operator
c++
1 Vote
6 Answers
27th Oct 2022, 4:59 PM
Younis Ahmad
What is the difference between class _ type x (); and class _ type x; in c++
c++
1 Vote
2 Answers
29th Jan 2017, 9:58 AM
gaurav kulkarni
Mi pregunta es.Si introdujeramos los comandos adecuados enUn buscador (Google) podríamos tener una respuesta directa de x base?
sql
1 Vote
3 Answers
20th Sep 2017, 12:43 AM
Fernando Carranza
I typed the statement x<y, the code is running without errors. Output is showing x is greater than y.
c#
else-statements
if-statements
1 Vote
5 Answers
14th Jan 2017, 2:57 AM
Chaaru Manjuraj
Is there a difference between sum(x) and x.sum() when x is a list or an array ?
python
python3
0 Votes
1 Answer
6th Aug 2022, 6:50 AM
Nicolas Leonetti
How to display the integer that appears the most in an array? Display as”the number x appears y times”...
arrays
csharp
low
support
0 Votes
5 Answers
27th Nov 2018, 11:49 AM
Sahan Edirisooriya
In " x = 3 + 6" , Is "=" sign is an operator or not? If it is an operator then what we'll call "x" ? An operand or a variable?
java
operand
operators
variables
2 Votes
3 Answers
7th Feb 2017, 12:56 AM
Muhammad Ahsan
X meters of fencing ## full question is in description##. Please post your answers as soon as possible.
c#
challenges
intersting
logic
2 Votes
2 Answers
10th Sep 2017, 5:26 AM
vamshichandu
In function a() why is x and y have the exact same output, can anyone explain the logic?
javascript
2 Votes
2 Answers
24th Mar 2017, 9:34 AM
John Watson
fill in the blanks to create a loop that increment the value of x by 2 and print the even values. x=0 _x<=20: print(x) x+=2 pls help me out
loops
python
0 Votes
18 Answers
2nd Sep 2016, 6:12 PM
anthony
What does string part do in console.writeline method and why we assign 0 to x and 1 to y?
c#
-1 Vote
5 Answers
3rd Sep 2016, 10:15 AM
Vivek Vishwakarma
What does x+ mean in C sharp?
c
c#
csharp
x
2 Votes
1 Answer
25th May 2017, 3:57 PM
Stepanek Kloucek
A little help guys, How do i get this working. The program should prompt the user x + y
java
1 Vote
2 Answers
13th Jun 2019, 8:47 PM
Tumi Sibiya
What is wrong?? x =int(input("please put number")) y =int(input("please put the second one")) if x+y>0: print("positive number"
phython
0 Votes
2 Answers
21st Jan 2018, 8:17 AM
Mahmoud Essam
¿Como puedo hacer un cuadro rojo en php de 200px x 200px con variables?. Estoy eprendie do a hacer paginas web
<?
2 Votes
2 Answers
29th Aug 2018, 1:34 AM
Bryan Alexis
How i can read x numbers and set what is the higher and what is the less
c++
for
higher
numbers
program
0 Votes
1 Answer
17th Apr 2017, 1:05 AM
Juanes Vargas
. Write a program in c++ which defines a function power() to return x raised to y.
c++
-5 Votes
2 Answers
11th Jan 2022, 3:19 PM
Swati Singh
How many times is the body of the following loop executed? What is the value of x after the loop termination?
c++
code
problem
question
0 Votes
5 Answers
24th Jun 2021, 3:00 AM
Rao Muzaffar
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
13
14
15
...
18
Next >
Hot today
Guys help please
1 Votes
Python question
2 Votes
Python
1 Votes
Are websites hackable?
1 Votes
C# and sql
1 Votes
Void functional void with bool function
0 Votes
What course to take for AI?
0 Votes
TICTACTOE
0 Votes
Error
0 Votes
What's an unsigned int?
0 Votes