Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
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 głosów
6 odpowiedzi
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 Głos
2 odpowiedzi
17th Jul 2019, 11:18 PM
kobrito
Even we write any other numer after return 0 still it prints correct output
program
return
0 głosów
1 Odpowiedź
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 głosów
6 odpowiedzi
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 Głos
9 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
6 odpowiedzi
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 Głos
6 odpowiedzi
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 głosów
4 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
4 odpowiedzi
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 Głos
1 Odpowiedź
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 głosów
2 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
4 odpowiedzi
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 Głos
9 odpowiedzi
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 głosów
6 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
8 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
9 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
4 odpowiedzi
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 głosów
2 odpowiedzi
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 Głos
12 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
6 odpowiedzi
12th Oct 2016, 5:39 AM
sai
I expect that this program prints "hello" one time but it produces error .explain why
c
0 głosów
1 Odpowiedź
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 głosów
4 odpowiedzi
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 Głos
2 odpowiedzi
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 Głos
13 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
5 odpowiedzi
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 głosów
10 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
3 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
1 Odpowiedź
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 głosów
5 odpowiedzi
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 głosów
3 odpowiedzi
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 głosów
1 Odpowiedź
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 Głos
7 odpowiedzi
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 głosów
6 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
5 odpowiedzi
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 głosów
5 odpowiedzi
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 głosów
6 odpowiedzi
4th Oct 2016, 6:31 AM
Brenda Marie Campos
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
...
4
5
6
...
8
Dalej >
Popularne dzisiaj
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
Write a program to find the strings are in isogram or not
0 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes
Recursion doubt
2 Votes