Cursos
Cursos
Compilador de Cรณdigo
Compilador de Cรณdigo
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussรตes
Pesquisar
Pesquisar
Faรงa uma pergunta
Faรงa uma pergunta
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 Respostas
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 Respostas
17th Jul 2019, 11:18 PM
kobrito
Even we write any other numer after return 0 still it prints correct output
program
return
0 Voto
1 Resposta
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 Voto
6 Respostas
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 Respostas
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 Voto
2 Respostas
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 Respostas
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 Respostas
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 Voto
4 Respostas
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 Respostas
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 Respostas
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 Resposta
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 Voto
2 Respostas
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 Respostas
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 Voto
2 Respostas
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 Respostas
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 Voto
4 Respostas
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 Respostas
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 Respostas
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 Voto
2 Respostas
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 Voto
8 Respostas
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 Respostas
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 Voto
9 Respostas
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 Voto
2 Respostas
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 Respostas
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 Respostas
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 Respostas
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 Respostas
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 Voto
6 Respostas
12th Oct 2016, 5:39 AM
sai
I expect that this program prints "hello" one time but it produces error .explain why
c
0 Voto
1 Resposta
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 Voto
4 Respostas
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 Respostas
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 Respostas
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 Respostas
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 Respostas
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 Voto
5 Respostas
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 Respostas
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 Voto
2 Respostas
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 Respostas
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 Respostas
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 Resposta
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 Voto
5 Respostas
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 Voto
3 Respostas
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 Voto
1 Resposta
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 Respostas
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 Voto
6 Respostas
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 Respostas
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 Respostas
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 Voto
5 Respostas
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 Respostas
4th Oct 2016, 6:31 AM
Brenda Marie Campos
Faรงa uma pergunta
Faรงa uma pergunta
Faรงa uma pergunta
Faรงa uma pergunta
< Anterior
1
...
4
5
6
...
8
Prรณximo >
Quente hoje
How to use the get() method
3 Votes
Game Dev Path
3 Votes
How to get account back?
1 Votes
why is this platform infested with web devs
3 Votes
So this what I'm trying to solve
2 Votes
PHP Tutorial Idea
1 Votes
Problem whit Javascript
1 Votes
Use Python for string manipulation and sorting.
1 Votes
So how do I create python file and be able to code in it?
0 Votes
How to open the test cases on sololearn I tried so many times with the correct code
0 Votes