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
Int a; for(a=2; a<=50;a+=2) {If( a != 10 and a != 20) cout<<a;} why the program still output value 10 and 20 in looping?
if-statements
loops
0 Voto
3 Respostas
9th Dec 2016, 6:52 AM
Dicki Andrea
I don't understand why my code exits my for loop after assigning x a value of 0 can someone please explain.
arrays
c#
for
loop
loops
0 Voto
2 Respostas
3rd Dec 2017, 3:20 AM
kenneth Stanley
What the process going on to printing the value 1 . Not(not x or not y and x or not y)
cpp
sololearn
0 Voto
1 Resposta
16th Sep 2020, 12:05 PM
Suparna Podder
I need this code I wrote to be further processed to give the exact value for of the result based on the comments
flatten
k
R
1 Voto
2 Respostas
2nd Apr 2017, 12:00 AM
Samuel Akosa
How I can make the webpage alert if the input is empty, and write something if there as a value in the input?
html
input
javascript
1 Voto
2 Respostas
23rd Jun 2017, 4:37 PM
Walid Kh. Sharaiyra
Type the program receives an integer n, then n receives correct preparation of a program that finds and prints the value of the
c#
1 Voto
2 Respostas
26th Nov 2016, 10:33 AM
haytham rmmal
This c++ code return index of array correct but if value not found then not returning appropriate return what is the problem
c++
0 Voto
1 Resposta
24th Apr 2020, 3:32 AM
rajendra
I need help fixing some problems with my game
classes
games
gaming
methods
oop
rpg
value
2 Votos
2 Respostas
29th Sep 2017, 12:01 PM
X-1
I am using a for loop in c++ and defined a integer k.I am adding something to k but after each iteration its value resets to 0.
c++
1 Voto
2 Respostas
4th Jan 2021, 1:57 PM
Aman Rana
What is meant by "Strings are not mutable." I cannot understand it inspite of it we can change the value of string through out ?
strings
2 Votos
2 Respostas
1st Mar 2017, 8:24 AM
Preet Patel
What are the bests web certifications?
certification
css
designer
html
javascript
job
qualified
value
web
1 Voto
3 Respostas
1st Nov 2019, 8:38 PM
🔸< 𝙷 𝙴 𝚁 𝙼 𝙾 𝚂 >🔸
Will the code work if "error" is replaced by None?Can a value be assigned to a variable when it is assigned 'None' initially?
dictionaries
python
1 Voto
2 Respostas
27th Jun 2016, 7:15 AM
Ashray
Fill in the blanks to stop the loop when the num variable reaches the value 55. question is for loop
please
reply
sololearn
0 Voto
0 Resposta
4th Dec 2022, 2:44 PM
Asif chaudhary
In Dictionaries in Pyhon, key value 1 and 0 will create confusion if another key values are "True" or "False"
python
python3
1 Voto
1 Resposta
4th Mar 2017, 7:10 PM
Akshay Dhotre
the division operator should result the float value the same operator should run in both python version 3 and 2.7
python
-1 Voto
1 Resposta
6th Dec 2018, 3:41 AM
Initiator
Can some buddy hep me?? What is the value of a3 in the following code: string a1,a2,a3; a1="45" a2="31" a3=a2+a1;
c++
logicalexpression
strings
variables
0 Voto
1 Resposta
28th Sep 2016, 7:41 AM
Devansh Kaushik
If auto increment is on, why we need to mention not Null, as the value will increment automatically from 1.
sql
tables
0 Voto
1 Resposta
20th Jun 2018, 7:36 AM
Virendra Ramteke
Don't say return returns a value which is very confusing but what's the difference between an echo and a return.?
echo
php
return
0 Voto
1 Resposta
2nd Sep 2016, 10:14 AM
Micheal Nunez
In this case the value is default or what !!!!!!!!!!!!!!!!! 41 18467 6334 26500 19169 15724 11478 29358 26962 24464
c++
rand
-1 Voto
1 Resposta
4th Oct 2016, 10:30 PM
tmohammed450
how can we return a value from a function if variables inside a function cease to exist outside of that function?
c++
0 Voto
2 Respostas
3rd Jul 2017, 12:00 PM
Manisha
If I want to print a value of counter I but all in the same line, how can I do it?
python
0 Voto
2 Respostas
10th Sep 2017, 10:56 PM
Abdelrahman Hamoda
What will happen if we declare data type integer of variable and user enters the value out of range of intger?
c++
0 Voto
2 Respostas
19th Dec 2016, 12:35 PM
Haseeb Mustafa
anyone pls help me with this.... x=4 x = 5 print..... decleare the variable and add 5 n pribt the value
python
0 Voto
2 Respostas
3rd Oct 2016, 3:38 PM
Keshav Tiwari
Input multiple values in one line...
c++
help
input
line
one
output
problem
store
value
0 Voto
4 Respostas
24th Jun 2020, 7:33 AM
Aminul
Why it’s printing True even I put a float value like with zero after decimal point - for example (7.0 , 5.0) ?
data
float
int
python
python3
type
0 Voto
1 Resposta
2nd Sep 2021, 7:29 AM
Balraj Singh
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
-1 Voto
5 Respostas
2nd Sep 2016, 6:12 PM
anthony
update existing variable
add
ineger
relfect
subtract
update
value
variable
0 Voto
2 Respostas
27th Sep 2022, 1:32 AM
Mariel Domnenko
What happens if I assign a variable x to 8, and Y to x, can i later change what value x holds? Or is Y forced to be equal to 8?
ruby
variables
2 Votos
4 Respostas
2nd Jun 2017, 9:40 AM
william
Please check my code, when i run it 1st and second printf sentence are not appeare and a and b var 's value can not inputted...
c
0 Voto
1 Resposta
9th Dec 2020, 9:25 AM
RD:programmer
What's wrong with the code.. if I enter n value as 1 or 2, it prints some garbage value.. why it is so ?
cprogramming
0 Voto
1 Resposta
25th Mar 2021, 3:40 AM
Ashu Williams
If I write const int x=5; after many lines I again write const int x =10; What will the final value x at end of execution or it will be an error
c#
constants
1 Voto
5 Respostas
19th Aug 2016, 6:31 AM
Akshay Sajeev
Write a function, MAX3, which uses 3 parameters and returns the value of the largest, then test the function in a program
c
c++
cplusplus
cpp
-1 Voto
2 Respostas
15th Dec 2017, 6:34 PM
ROCK&RAUL
int X[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8};5 will be the value of and how a. X[0 ][ 1]. b. X[0 ][ 5]. c. X[1 ][ 5]. d. X[1][0]
2
arrays
dimensional
elements
how
in
stored
the
0 Voto
3 Respostas
18th Jan 2020, 5:18 AM
kaushik agrawal
Task: Determine if the time you are given is AM or PM, then convert that value to the way that it would appear on a 24 hour c
c++,java
1 Voto
2 Respostas
28th Jul 2022, 11:31 AM
BIVAMWIJURU SILAS
$arr=array("1","3","4"); echo $arr[1]; through this we can print only one value of the array(wrt index).but,is there any way to print entire array at a time??
arrays
php
0 Voto
3 Respostas
14th Jan 2016, 3:51 AM
krrish...
I want a logic for html page. I made a form,and if user enters any numeric value in text field a dialog box should apear
html
0 Voto
3 Respostas
31st Mar 2017, 2:44 PM
sumer
Help me(declare a char friend_sex.prompt the user to enter m if the friend is male and an f,if female.assign the value to friend
c++
0 Voto
1 Resposta
30th Oct 2018, 10:00 AM
Ajiboye Mubarak
When we have to use value, id, name attributes while creating a form? And when we put the content in the value tag empty?
forms
1 Voto
1 Resposta
10th Jan 2021, 8:46 AM
Devansh Agarwal
Why its shows error while try to pass the value as normal interger a and b into the function update instead of passing ptr var?
pointers
0 Voto
1 Resposta
25th Apr 2019, 5:46 PM
Sudha
How to pass a value by reference to another function without creating a class or an instance of a class in java?
java
parameters
reference-types
0 Voto
2 Respostas
7th Jun 2017, 2:03 PM
Vidul Goenka
Message PP 6: Unterminated string or character constant PI Statement missing: CPP 15: 'a' is assigned a value that is never used
c++
0 Voto
1 Resposta
20th May 2018, 1:12 PM
Mahendra Kumar
Here is an function to return the maximum value among three positive integers. There is an error in this function. Provide an in
python
0 Voto
2 Respostas
19th Mar 2017, 4:28 AM
fariha
What is the purpose of Nullable types in C#? Can we just assign a value of 0 instead of using null?
beginner
c#
nullable
problem
type
0 Voto
1 Resposta
1st Aug 2017, 4:56 PM
Gerald Taccad Cauilan
After assigning value to the variable. Why dont we use the double inverted commas ( " ") in the cout function
c++
variables
0 Voto
1 Resposta
25th Feb 2017, 3:09 PM
RAHUL PATIDAR
What is a more efficient way to do this? After 33 I can only get a return value of zero :/
c#
factorials
-1 Voto
1 Resposta
15th Feb 2017, 3:32 PM
Nick
The conversion of a varchar data type to a smalldatetime data type resulted in an out-of-range value code is as follows:
asp.net
c#
sql
0 Voto
1 Resposta
28th Mar 2017, 1:19 PM
pankaj
In the code in the description, if we input the value -27 how does the program print that it is odd??
elif
if-statements
python
0 Voto
1 Resposta
13th Sep 2016, 8:52 PM
--_--
int a=1,b; b=++a + a++ + ++a + a++; System.out.println(b); System.out.print (a); What is the value of 'a' and 'b' ??
java
-1 Voto
2 Respostas
25th Sep 2017, 5:09 PM
Ankit Singh Rawat
How we can increment char array [ ] containing hexadecimal values ? Or how can we increment the hex value ?
c
-1 Voto
1 Resposta
11th Oct 2022, 12:20 PM
Aadesh Walhe
I don't understand why my code exits my for loop after assigning x a value of 0 can someone please explain
arrays
c#
for
loops
0 Voto
1 Resposta
3rd Dec 2017, 2:10 AM
kenneth Stanley
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
56
57
58
...
60
Próximo >
Quente hoje
What's wrong with this code ? ( Beginner)
3 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Uuu
2 Votes
I’m new someone can help me
0 Votes