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
can we use two threads so that thread 1 prints a and thread 2 prints 2 alternately? output should be like this thread 1 a thread 2 b thread 1 a thread 2 b can we use wait() for this purpose?
java
threads
3 Votos
6 Respuestas
20th Jul 2016, 4:58 PM
sreeraj g
could someone explain this code for me(why it prints all the even numbers between 2 and 10)
#python
1 Voto
2 Respuestas
17th Jul 2019, 11:18 PM
kobrito
Even we write any other numer after return 0 still it prints correct output
program
return
0 Votos
1 Respuesta
2nd May 2019, 9:22 AM
Kiran Borade
How to write a program that reads a positive integer number and then prints each box on a line?
c++
0 Votos
6 Respuestas
7th Nov 2019, 8:13 AM
Razan
Arithmetic cout like cout << 2+2; prints 4 in Visual Studio, but does not print anything in gcc compiler. Why ?
basics
compiler
cout
1 Voto
9 Respuestas
26th Feb 2018, 8:34 AM
Harshit
made a code which prints all the input numbers as an array, can it be reduced?
array
cpp
0 Votos
2 Respuestas
13th Jan 2020, 3:07 PM
Ariz imam
I want to ask why is 9, 25, and 49 still prints the output? They are not prime numbers
prime
program
3 Votos
6 Respuestas
20th Jan 2018, 3:56 AM
JRez
I want to write a presentation that takes 100 numbers and prints even and odd separately. If the input is not zero,
c++
cpp
1 Voto
6 Respuestas
7th May 2022, 6:30 AM
Mhdis
Write A Function that recieves 2 numbers and generates a random number from that range and prints it.
python
python3
0 Votos
4 Respuestas
13th May 2019, 11:09 AM
Da Talking Pigeon
After print(x+3) i wrote x=+1 and it then prints value of x as 1 not 8
python
variables
1 Voto
3 Respuestas
7th Mar 2017, 2:06 AM
Ris Raj
How to write a program that generates and prints 50 random integers,each between 3 and 6 in python
fast
-3 Votos
4 Respuestas
19th May 2020, 3:07 PM
Elliot
Why does Java compiler prints a value, while a C++ compiler outputs another in the next expression?
c++
compiler
expression
java
1 Voto
1 Respuesta
29th May 2020, 9:08 AM
Sergio Enrique ☕
Write a programe that prints a table on column -table that helps converting miles into kilometers.
confusion
0 Votos
2 Respuestas
23rd Jun 2019, 3:07 PM
No Limit
Explain why the following code prints the message “Hello world” instead of giving an error?
c
c++
1 Voto
2 Respuestas
11th Feb 2017, 7:15 AM
Muhammad Hamza
If I add +1 after : (semicolon) it prints nothing in domain name in line 3. Why?
python3
0 Votos
2 Respuestas
27th Aug 2020, 7:35 AM
Shreyansh
[SOLVED] Hi Guys, I need to run a program on C++ that prints my first name and last name.
c++
help
question
solved
1 Voto
3 Respuestas
10th Sep 2020, 9:57 PM
Kristo Papa
If i increment the pointer and pass it to function why it prints address after returning to main??
c
c++
function-arguments
functions
increment
main
pointers
variables
0 Votos
4 Respuestas
27th Dec 2018, 2:56 PM
Rohit
Need help to write a program that prints all numbers between 1,000 and 10,000 that are divisible by 6 but not 12.
python
1 Voto
9 Respuestas
6th Feb 2019, 3:43 PM
Ross Hunter
Why in the case 01 the output prints both the order and the quiz tells that only the first line is printed because the other.
code
if-statements
python
quiz
19 Votos
6 Respuestas
19th Feb 2018, 6:28 PM
Vučko/Вучко/Vuchko
What's wrong in this code.. I need to print only string not #string but it prints including #
python
python3
0 Votos
2 Respuestas
2nd Aug 2021, 2:55 PM
SelvaKumar
Hi guys! Trying to fill an array asking the user for numbers. It's not working with foreach.Only prints position [2]. Ideas? Thx
arrays
c#
foreach
0 Votos
8 Respuestas
10th Sep 2021, 4:43 PM
ASENCIO ORTIZ SAEZ
Write a program that reads in numbers m, n and prints the letter X (capital X) m times
c++
-1 Voto
3 Respuestas
19th Jan 2022, 10:03 AM
RAJ VIKRAM
Write some code in PHP that prints the numbers 0-1000-0 on a new line. Ensuring it is the fastest code possible.
first
0 Votos
9 Respuestas
10th Apr 2018, 6:26 PM
Phőńe Aye Minn
I plan to make a project that prints out every 3rd letter of a string value
code
java
netbeans
0 Votos
2 Respuestas
10th Mar 2019, 10:34 AM
Mr.Gameplay Network
Write a program that asks the user for a number of seconds and prints out how many minutes and seconds.
python
-1 Voto
4 Respuestas
25th Aug 2018, 6:22 AM
Divyansh Sunny
Write a program that calculates and prints the value according to the given formula:
answer
need
-5 Votos
2 Respuestas
1st Oct 2020, 8:50 PM
Mudabbir Ahmed
I want to make a program in Python which takes 10 integer values from user and prints the largest odd integer. Plz help.
begginer
mit
python
1 Voto
12 Respuestas
25th Oct 2018, 8:47 AM
Sam Thakkar
Why does any word within these things <> print a statement and no <> also prints a statement in html?
html
print
statement
5 Votos
2 Respuestas
10th Sep 2019, 5:05 PM
sujay simha
Can we create a multiple lines of prints in a single print statement like in other languages we use"\n"
python
0 Votos
6 Respuestas
12th Oct 2016, 5:39 AM
sai
I expect that this program prints "hello" one time but it produces error .explain why
c
0 Votos
1 Respuesta
26th Feb 2019, 4:34 PM
Shaik Abeedh
[check the code] : why does code 1 and code 2 prints 13 and 14 characters respectively? Why different? They should have the same
arrays
c
c++
clang
clanguage
cpp
strings
0 Votos
4 Respuestas
15th May 2022, 10:49 AM
blueshipswims
I want the readers to make a program (any language) which prints the given like sequence.
c
c++
java
javascript
qbasic
1 Voto
2 Respuestas
4th Dec 2017, 12:44 PM
Rohan Raj Poudel
I want to print the items in a single line like this: 10 20 30 40 . Not on separate lines, but it prints on separate lines. Why?
python
1 Voto
13 Respuestas
28th Jan 2022, 9:19 AM
𝑨𝒍𝒗𝒊𝒏
Why is the first try code prints after finally but the second try not? Why print(3/0) break the code? Thanks
except
finally
py
python
try
1 Voto
3 Respuestas
28th Oct 2021, 10:26 PM
ahmed 🇪🇹
When an object is passed to System.out.println as an argument it prints some hashcode, what does this hashcode represent?
java
4 Votos
2 Respuestas
6th Jan 2018, 5:38 PM
Dhvani
prints out a multiplication table where each number is the result of multiplying the first number of its row by the number at -
for
loop
nested
python
0 Votos
5 Respuestas
8th Mar 2020, 3:05 PM
Somya Sarathi Samal
A program that prints all the prime numbers from 1 to n ? Where n is taken as an input from the user .
numbers
prime
print
4 Votos
10 Respuestas
24th Mar 2017, 2:21 PM
Shru
How can i connect the printer to dev c++ then prints the output automatically? Like receipts from cashier.
helpme
0 Votos
2 Respuestas
27th Aug 2019, 8:35 AM
RAMPAPAMPAPAMPAPAAA
Write a program that prints a table on two columns - table that helps converting miles into kilometres
cvnklkggfgj
-2 Votos
3 Respuestas
14th Dec 2020, 6:35 AM
Harsh Jaiswal
How this program runs?? I don't know how 3 3 1 prints out..Please can u explain this code?..
c
function-call
1 Voto
2 Respuestas
8th Apr 2019, 4:53 AM
Zothansanga Renthlei
can i define a function that asks for a user input add then prints the result.
functions
python
2 Votos
1 Respuesta
16th Aug 2016, 7:51 AM
Kaka
Write a single cout statement that prints the text below. Jane said : " I heard a loud" 'alert'.
c++
print
0 Votos
5 Respuestas
3rd Dec 2017, 6:30 PM
Zikiamin Mateo
Write and run a program that reads a six digit integer and prints the sum of its six digits?
c++
0 Votos
3 Respuestas
3rd Dec 2017, 9:11 AM
alikhan124
Defining the Method that just prints out a string, Why is there no return neccessary?
java
methods
0 Votos
1 Respuesta
31st Dec 2016, 4:49 PM
eternallatesummer
How can i multiply a string in java just like python.cause i wanted to make a programme which prints a string multiple times.
java
python3
strings
1 Voto
7 Respuestas
29th Apr 2020, 8:31 AM
Varun Sharma
C++ Fill in the blanks to define a destructor for class ''MyClass'', which prints some text in its body on the screen.
c++
destructors
0 Votos
6 Respuestas
29th Dec 2016, 4:05 PM
Anees Hassan
In this code why the outside cout statement prints 0 , it should print 1 ??can anyone explain it??
c++,
coding
question
1 Voto
2 Respuestas
28th Jun 2019, 9:55 AM
Mohd Baqer Haider
Fill in the blanks to define a function that prints "Yes", if its parameter is an even number, and "No" otherwise. even(x):
functions
python
-2 Votos
5 Respuestas
21st Jun 2019, 6:20 AM
Pooja Jadhav
Write a program that computes and prints the result of 512 2 282 47 · 48 + 5 . It is roughly .1017.
.
..
0 Votos
5 Respuestas
8th Nov 2020, 10:31 AM
adzlan piago
A program that reads in three integer numbers the. Prints out the min value and the max value of the three numbers.
booleans
interger
python
3 Votos
6 Respuestas
4th Oct 2016, 6:31 AM
Brenda Marie Campos
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
4
5
6
...
8
Siguiente >
En tendencia hoy
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