Cursussen
Inloggen
Begin met het leren van AI
Cursussen
Inloggen
Begin met het leren van AI
Q&A Discussies
Zoeken
Zoeken
Stel een vraag
Stel een vraag
Can I make a case in CPP that tests if x < 2 for example
c++
switch
0 Stemmen
1 Antwoord
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 Stemmen
2 Antwoorden
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 Stem
4 Antwoorden
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 Stemmen
4 Antwoorden
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 Stemmen
3 Antwoorden
22nd Dec 2016, 4:07 PM
SealCLi
Data Science - Average of Rows
[int(x)
=
for
in
input().split()]
n
p
x
-1 Stem
1 Antwoord
11th Nov 2021, 8:35 AM
Zaid Zren
Why doesn’t this work when i use decimals for x ?(Double for 31 days calculator)
31
calculator
days
double
0 Stemmen
1 Antwoord
22nd Nov 2020, 2:14 AM
Jonathan Klein
how to represent any whole number in python? Say if x == any whole number print(x)? How to represent this?
python
2 Stemmen
8 Antwoorden
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 Stemmen
3 Antwoorden
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 Stemmen
2 Antwoorden
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 Stem
5 Antwoorden
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 Stemmen
4 Antwoorden
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 Stemmen
6 Antwoorden
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 Stemmen
2 Antwoorden
21st Sep 2018, 7:39 AM
aplneto
What are the values of the variables s and x after running this piece of code?
ado
-1 Stem
2 Antwoorden
18th Mar 2021, 5:56 PM
Charityn
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 Stem
8 Antwoorden
12th Mar 2024, 7:31 AM
P A Arrchith Iyer
Find max in java array without sorting?
(int
int
max
x
0 Stemmen
4 Antwoorden
9th Aug 2017, 8:51 AM
saurabh singh
Write a program that reads in numbers m, n and prints the letter X (capital X) m times
c++
-1 Stem
3 Antwoorden
19th Jan 2022, 10:03 AM
RAJ VIKRAM
Почему этот код выводит 6?
javascript
rus
while
x
1 Stem
2 Antwoorden
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 Stemmen
3 Antwoorden
10th Jul 2018, 11:54 AM
George S Mulbah II
I haven't declared x anywhere. How does it know to reference the index of myarray? Python3, sample code provided.
loops
python
python3
0 Stemmen
3 Antwoorden
19th Mar 2025, 6:10 PM
Zachary Flynn
The symbol s and the natural number n are given. Print a square of s characters with size n x n.
c++
0 Stemmen
11 Antwoorden
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 Stemmen
5 Antwoorden
13th May 2017, 10:27 PM
IB Afifa
Evaluation Order Please , not 1 + 1 == y or x == 4 and 7 == 8:
python3
2 Stemmen
2 Antwoorden
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 Stemmen
4 Antwoorden
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 Stem
4 Antwoorden
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 Stem
4 Antwoorden
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 Stemmen
3 Antwoorden
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 Stemmen
4 Antwoorden
18th Aug 2021, 2:17 PM
Tanvir Ahmed
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 Stemmen
4 Antwoorden
8th Jun 2017, 7:57 PM
Edward Seton
. Write a program in c++ which defines a function power() to return x raised to y.
c++
-2 Stemmen
3 Antwoorden
11th Jan 2022, 2:25 PM
Swati Singh
When writing a switch, how can I specify a case in which x is greater than something?
javascript
switch
0 Stemmen
3 Antwoorden
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 Stem
6 Antwoorden
27th Oct 2022, 4:59 PM
Younis Ahmad
What is the difference between class _ type x (); and class _ type x; in c++
c++
1 Stem
2 Antwoorden
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 Stem
3 Antwoorden
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 Stem
5 Antwoorden
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 Stemmen
1 Antwoord
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 Stemmen
5 Antwoorden
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 Stemmen
3 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
18 Antwoorden
2nd Sep 2016, 6:12 PM
anthony
What does x+ mean in C sharp?
c
c#
csharp
x
2 Stemmen
1 Antwoord
25th May 2017, 3:57 PM
Stepanek Kloucek
What does string part do in console.writeline method and why we assign 0 to x and 1 to y?
c#
-1 Stem
5 Antwoorden
3rd Sep 2016, 10:15 AM
Vivek Vishwakarma
A little help guys, How do i get this working. The program should prompt the user x + y
java
1 Stem
2 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
1 Antwoord
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 Stemmen
2 Antwoorden
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 Stemmen
5 Antwoorden
24th Jun 2021, 3:00 AM
Rao Muzaffar
Stel een vraag
Stel een vraag
Stel een vraag
Stel een vraag
< Vorige
1
...
13
14
15
...
18
Volgende >
Populair vandaag
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Need help
1 Votes
How to install Bcrypt here
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
What is happening with sololearn
1 Votes
Hello !
0 Votes
Programming language learning
0 Votes
Help
1 Votes