Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How i can read x numbers and set what is the higher and what is the less
c++
for
higher
numbers
program
0 Votos
1 Respuesta
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 Votos
2 Respuestas
11th Jan 2022, 3:19 PM
Swati Singh
Why do i get x symbol in display screen in an html, when i try to upload my image from my desktop using img tag?
html
0 Votos
7 Respuestas
30th Aug 2017, 2:22 PM
Srinivas Rao H
Buenas tardes, como resuelvo tengo que hacer un programa que me de un valor diario x dias trabajados y menos los gastos
menosdescuentos
nombrecondutor,valordiar
totalganancia
xdiastrabajados
0 Votos
4 Respuestas
21st Sep 2018, 10:34 PM
oscar
The program accepts unique integers x y and z as input.The program must swap the largest and second largest integers and print
above
c
in
program
solve
the
-1 Voto
4 Respuestas
11th Jan 2019, 1:44 PM
Padmapriya Ravichandran
what will display the following program item and how many times will be executed the loop
*
=
10;
x
z;
0 Votos
3 Respuestas
24th Jul 2019, 11:46 AM
Сергій Дацюк
class Add { constructor(...words) { this.words = words; } //your code goes here } var x = new Add("hehe", "h
javascript
node.js
-2 Votos
2 Respuestas
7th Dec 2021, 2:14 AM
Anish Kumar Pankaj
So i understand that x++ is changing the vafiable after it is used and ++x before. But in the example of x = 5 y = ++x Why does y not equal 6 when x gets changed before use.
c++
operators
0 Votos
2 Respuestas
16th Sep 2016, 3:41 PM
sam
Write a program to take x and y as input and output the string x, repeated y times. Sample Input hi 3 Sample Output hih
esvar
0 Votos
3 Respuestas
31st Mar 2022, 1:41 AM
Chabolu Dharaneesvar
(C++) wap to input 9 numbers into a 3 x 3 integer matrix and check that it is a symmetric matrix or not.
c++
matrix
symmetricmatrix
0 Votos
3 Respuestas
15th Nov 2019, 3:27 PM
Mokshag
What is the proper way or step by step solution for int x = (5+3*5)%3+3*7; sorry getting confused, even though i know the answer
java
0 Votos
6 Respuestas
5th Apr 2017, 9:22 AM
paupau oviedo
What should I do.my laptop does not display html images but makes a sign with an x inside a squre.
css
html
stylish
0 Votos
2 Respuestas
11th May 2020, 10:52 AM
Charles
What is the function of inplace operators really coz x=4 x=x+4 x 8 (this serves the same function)
operators
python
0 Votos
2 Respuestas
14th Jul 2016, 11:17 AM
hacker charlo
I need to detect if a object is hiting a obstacle from X axis or Y axis. The motion works with a Vector that stores 2 variables
collision
game
vector
3 Votos
6 Respuestas
9th Jan 2017, 3:59 PM
Igor Busquets
Help me please! i want to write a function that has a double x and a boolean ok as parameters,and returns a double.
return
0 Votos
5 Respuestas
26th Sep 2017, 6:30 PM
love
Jumping Animation
axis
bug
game
javascript
jump
velocity
x
y
5 Votos
4 Respuestas
23rd Jun 2019, 6:55 PM
Clueless Coder
Define python function called absolute that takes one parameter and return one absolute value of x ie:|x|=(x if >=0,-x otherwis
function-arguments
python
-1 Voto
2 Respuestas
17th Nov 2020, 8:18 PM
Prerna Keshkar
How many times is the body of the following loop executed? What are the values of x and y after the loop termination?
c++
code
problem
question
0 Votos
3 Respuestas
24th Jun 2021, 2:46 AM
Rao Muzaffar
How can I make a red frame in php of 200px x 200px with variables? I am learning to make web pages
<?
0 Votos
3 Respuestas
29th Aug 2018, 2:25 AM
Bryan Alexis
int[ ][ ] myArr = { {1, 2, 3}, {4}, {5, 6, 7} }; myArr[0][2] = 42; int x = myArr[1][0]; sop(x);
arrays
java
0 Votos
3 Respuestas
16th Dec 2016, 4:31 AM
Tanaji Kolekar
How to make an app that can save an X number of variables but it can't have any of the values repeated?
java
0 Votos
4 Respuestas
16th Jan 2017, 1:29 AM
Ismael Illan
If x=10 & y=20 then what will be the values of x and y after execution of the statement x+=(y++ - --y)*y++
java
0 Votos
2 Respuestas
22nd Jan 2019, 3:11 AM
Shivam Srivastava
Assume x = 1. What is the truth value of the boolean: (x != 1) == !(x == 1)
boolean
boolean-logic
logic
logical
operators
0 Votos
2 Respuestas
26th Jun 2017, 11:27 PM
Blaq Ice
fill in the blanks to take the value of the x variable from user input double its value and print it
python
-1 Voto
2 Respuestas
25th Oct 2021, 3:55 AM
Siva Siva
The output of the following code is: x = 3; if (!x) if (x=4) cout << "AAA". else cout << "BBB
c++
-1 Voto
2 Respuestas
21st Sep 2021, 11:42 AM
Wafaa Elayan
Debug this function so that it deletes all occurrences of y in array x (whose length is n)
cpp
-1 Voto
1 Respuesta
15th Mar 2021, 3:25 AM
Jayasudha selvan
Rewrite so that it uses pennies for all calculations.Code to round x to closest penny and put in in y is y = (long)Math.round(x)
java
1 Voto
3 Respuestas
9th Feb 2019, 4:00 AM
czarina smsn
Buenas tardes a todos.....haganme un favor como hago un programa en c++ que despeje x en una ecuación con vectores?
c++
vectores
win7
1 Voto
1 Respuesta
17th Aug 2018, 10:03 PM
Dianav
When using canvas in html when you use the function ctx.fillRect(x,y,w,h); where is the x and y located in the created rectangle
canvas
ctx.fillrect
-1 Voto
2 Respuestas
10th May 2017, 5:38 PM
Cooper Allen
so this should print variable a up to the value x (wtever u enter) i dont know whats wrong it just prints a++ until it times out
c++
loops
2 Votos
6 Respuestas
17th Jan 2017, 6:57 AM
jonathin
What is the value of f(255) for the function below?def f(x): d=0 while x >= 1: (x,d) = (x/4,d+1) return(d)
python
0 Votos
1 Respuesta
2nd Feb 2019, 5:32 PM
Avijit Pal
X = [4,3,2,1] minlist = x.sort(x.reverse()) this question from list and arithmetic operators but it couldn't be complile
shashank
0 Votos
1 Respuesta
25th Jan 2018, 6:38 PM
shashank shekhar
В одном из уроков был пример int x = 10 ; double = 20 ; Оба числа целые ,причем сдесь double ?
doubl
int
1 Voto
2 Respuestas
21st Jun 2018, 10:07 AM
Kisliy
Can anyone help me to solve a program. i.e. Form a largest possible integer x by concatenating n integers
python
sort
0 Votos
1 Respuesta
15th May 2020, 5:47 AM
KARTHIK K
I tried this code: def multiply_numbers(x, y): if x>y: return x else: return x*y print(multiply_numbers(4, 5)) It says syntax error on line 4. Can someone please help out?
functions
python
1 Voto
7 Respuestas
31st Aug 2016, 9:58 AM
Odogwudozilla
def main(): n = eval(input("How many numbers do you have? ")) sum = 0.0 for i in range(n): x = eval(input("Enter a number
python3
0 Votos
2 Respuestas
22nd Jan 2022, 6:42 AM
Umar Nurudeen Ojo
C++
%2
c
int
x
x--
x;
1 Voto
5 Respuestas
1st Feb 2018, 11:00 AM
Sugandha Paul
int x = 10 if (x > -1); if (x != 0); if (x > 0); System.out.println (“x is a positive number having value “ + x);
if
if-statements
in
java
output
2 Votos
2 Respuestas
7th Dec 2020, 11:43 AM
Nadia Arias
Is there a way to make (ex. x = 4.0, y = 4, print(x + y)) not a float?
float
int
variables
0 Votos
1 Respuesta
27th Apr 2019, 2:01 PM
Tristan Misja
Why does the x button only work on the test list items i made in html and not the ones made with js
help
html
javascript
jquery
js
0 Votos
2 Respuestas
3rd Nov 2021, 12:49 AM
Jeremy MCSSJ
var x = 8 ,, y = x++ * 5, z = (y % x); alert (z) // z = 0 or 4
40%8=0
0 Votos
2 Respuestas
18th Jun 2020, 9:37 AM
cabdiqani Ahmed
Void main() { Int x = 10; Int *y = (&x); Int ***z = (&y); Printf("%d %d %d", **z, *y, x); }
c#
-2 Votos
4 Respuestas
19th Mar 2017, 6:14 AM
lalith narayan
What does !x mean, i understand !(x>30) means x can't be greater than 30 but this '!x' is just confusing me
c++
operators
1 Voto
2 Respuestas
27th Oct 2016, 6:34 AM
Kai
using css, create a page with blue background using css, create a page containing a 100px X 100px box with four 10px solid blac
justine
0 Votos
3 Respuestas
7th Nov 2020, 9:01 AM
Kim Malinog
Didnt understand the second fornatted string code. Console.WriteLine("x = {0}; y = {1}", x, y); Why x & y is 0 & 1?
c#
output
1 Voto
3 Respuestas
18th Aug 2017, 12:39 PM
Akhi Jetra
If we have number in integer let x we have to find all the digits of the number and store in different variables
c
c++
java
2 Votos
1 Respuesta
19th Dec 2019, 8:33 PM
Himanshu Sharma
I want to know the logic to the questions in the challenges.. I means. if x = 4;S. o. t("++x"); output : 5 . hope u understand..
challenges
help
logic
0 Votos
6 Respuestas
4th Jan 2018, 6:17 AM
Anjali Kushwaha
var r = (function (x, f = () => x) { var x; var y=x; x = 2; return (x + y + f()); })(1) console.log(r);
javascript
2 Votos
4 Respuestas
9th Dec 2017, 8:52 AM
Luke
How can I order two different values of an x attribute, when they share the same value of a y attribute, on the same line? In R
attribute
problem
r
sql
tables
0 Votos
3 Respuestas
18th Feb 2020, 11:24 AM
Davide De Simone
¿Por qué el uso de x = input("ingrese edad") no imprime "ingrese edad" en solicitud de ingreso de dato en python?
input
input()
python
0 Votos
1 Respuesta
13th Sep 2020, 11:00 PM
Sergio Piedrabuena
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
14
15
16
...
18
Siguiente >
En tendencia hoy
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Please rate my code from 1 to 10
2 Votes
Write a program to find the strings are in isogram or not
0 Votes
Square Roots
0 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes