Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
why function initialisation [int main()] and variable defining [int sum;] are both the same command “int” ?
c++
variables
0 głosów
2 odpowiedzi
23rd Apr 2017, 12:47 PM
Azat Jorayev
If I add "public" while defining a variable in main method it shows me error in c#,why?
c#
error
input
0 głosów
1 Odpowiedź
29th Jun 2018, 4:12 PM
Khushboo Gupta
I don't know how to declare variable prw in line 21. I need a little help. I make it on my way.
c++
0 głosów
3 odpowiedzi
28th Aug 2020, 9:28 AM
TeaserCode
Give me examples of codes having variable Boolean,double and single and (!) symbol also plz put the outputs. language is c++
and
symbols
variables
1 Głos
2 odpowiedzi
26th Dec 2018, 3:37 PM
Jonny Walker
Unexpected Output In Javascript!
but
declaration
else
expected
javascript
object
output
something
unexpected
variable
14 głosów
4 odpowiedzi
30th Sep 2020, 2:07 PM
Mask Man(What's in a name?)
Why we can access function created outside the function but cant access variable or value outside the function?
javascript
programming
web
1 Głos
1 Odpowiedź
28th Aug 2018, 9:25 AM
MOKTAN NISHAN
What code do I need to use to declare a variable that is a mixture of characters and numbers?
c++
0 głosów
3 odpowiedzi
5th Feb 2017, 4:13 AM
Ritaj J.A
How can I write a program in python that takes a name variable and displays "Your name is awesome"
program
python
variables
1 Głos
2 odpowiedzi
12th Sep 2017, 9:45 AM
Hassan Askri
How to take input in cpp in variable and after how to print that ? I tried it but its print only one world
c++
1 Głos
2 odpowiedzi
11th Dec 2022, 12:48 PM
Girish Sahu
What happens when I pass an integer to a float variable ? Can someone explain me the output of this code ?
c
data-types
float
input
int
output
variables
0 głosów
2 odpowiedzi
25th Aug 2021, 6:28 AM
Sk. Ahmed Razha Khan
Global and local variables and setinterval and clearinterval for JavaScript timer?
clearinterval
global
javascript
let
local
setinterval
timer
variable
3 głosów
7 odpowiedzi
16th Mar 2020, 9:14 AM
Marko Rillo
Y would i ever want to declare a variable from heap than declaring in normal way(i dont what its called? :D)
c++
0 głosów
4 odpowiedzi
11th Oct 2017, 10:06 AM
suryapoojary
Hello, Please I tried printing a variable value along with a string with cout. Cout<< var "Is the answer"; help please
c++
cout
0 głosów
4 odpowiedzi
2nd Dec 2016, 3:00 PM
Nkenfack Tebonfack Mathurin
how can i use if else statement to find the minimum of a and b and assign it to variable min?
else
If
javascript
statement
0 głosów
3 odpowiedzi
23rd Jun 2017, 10:10 AM
Abdelghani Laaroussi
Creating a whitespace in between my session variable output in PHP. I will do two posts with my code snippets for both examples
output
print
session
space
variables
white
with
0 głosów
5 odpowiedzi
7th Feb 2018, 7:46 PM
Making A Change
[Solved] I would like to use the ran variable and have it reset and generate a new number everytime it is called.
python
python3
0 głosów
2 odpowiedzi
25th Dec 2020, 7:07 PM
Adam Stork
What int does in for loop? It declares a variable or other thing ?(sorry for my bad english)
loops
0 głosów
1 Odpowiedź
5th Dec 2019, 4:51 PM
BrodaCode
Why is different specifier used to print out address of variable and pointer some use %x, %u i need clarity please.?
pointers
0 głosów
2 odpowiedzi
10th Jun 2020, 8:37 AM
Femi SONI Y
Guys if u execute this code it will output " smaller than 1" ....how!!! the variable is string not integer?
php
0 głosów
2 odpowiedzi
9th May 2019, 1:13 PM
Omar
CHALLENGE: The variable name is entered from the keyboard. Determine if it is correct from the point of view of C ++?
c++
challenge
challenges
variables
2 głosów
3 odpowiedzi
28th Nov 2017, 9:06 PM
Tretyakov Andrey
why are the id( ) of two lists same when a variable has been used to copy a list that is stored in another variable?
python3
2 głosów
3 odpowiedzi
13th Mar 2020, 12:07 PM
sai
How to Declare string Variable?
c++
text
type
variable
0 głosów
2 odpowiedzi
25th Apr 2017, 2:39 PM
Soumik
Anyone knows how to print a variable from a string? For exemple: var = 3, string = "var". Then, you have to print it from string
python3
-2 głosów
7 odpowiedzi
2nd Mar 2019, 11:51 AM
SlowFast
Suppose int x=36 but i want to print square root of variable x then how should i give instruction to print square root of x .
c++
3 głosów
5 odpowiedzi
25th Apr 2017, 3:05 PM
Harsh
declare a variable that has the age of a person and print user's name as many times as the age in c program
c++
1 Głos
3 odpowiedzi
26th Aug 2021, 9:47 AM
Bashir Kabiru Haruna
How to Assign values to each Letter Or Number in JavaScript?
assigningvalues
help
javascript
operator
strings
variable
2 głosów
5 odpowiedzi
16th Mar 2018, 12:29 PM
Raaja Thalapathy
How does the subclass Dog inherit the variable legs with the value of 4 from the superclass Animal
inheritance
0 głosów
1 Odpowiedź
10th May 2019, 2:54 AM
Shak 240
I think this question is wrong... Either world should be in single quote and used as variable later or hello should b in single tag...
php
variables
3 głosów
4 odpowiedzi
6th Oct 2016, 12:35 PM
simran adake
What if I create a private variable inside the main class, would that mean it'll be available in other classes? What do private variables even do?
access-modifiers
java
5 głosów
3 odpowiedzi
27th Feb 2016, 11:30 AM
Pavitran
My course is asking me to convert a variable containing string "93.7" and another to a decimal. How is this done? Thanks guys.
course
question
0 głosów
4 odpowiedzi
8th Mar 2019, 10:44 AM
Peter
Why is the address of a variable is 12 characters long instead of 8 as given in c course in pointer's section ?
address
c
pointers
1 Głos
2 odpowiedzi
18th Aug 2020, 4:58 AM
Ankush Kurmi
Trivial question about interfaces
constant
final
interface
java
static
variable
3 głosów
4 odpowiedzi
1st Sep 2017, 3:17 PM
Michael Vigato
hi even i read all course about variable but i can't understand can some good people tell what is whats used....?
c++
variables
1 Głos
3 odpowiedzi
30th Dec 2016, 8:43 PM
Aran Bekas
How to clean Java console after case is executed, and why my variable "usuario" doesn't keep the value after reching Agenda.main
console
erase
java
1 Głos
3 odpowiedzi
7th Jul 2017, 6:04 PM
D0vAk1N
To declare an Integer?
c++
int
integer
var
variable
1 Głos
2 odpowiedzi
30th Jun 2018, 8:43 PM
Candice Brown
How can I take many integers from a form post and put them into an array? But that array as a variable after which I foreach ..
arrays
php
variables
0 głosów
6 odpowiedzi
16th Jan 2020, 5:17 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
How to take input at run time on python ? I'm always used static variable , i want user gives the input in python
data-types
python
2 głosów
4 odpowiedzi
22nd Feb 2017, 7:57 AM
suneel singh
Write an if-else statement that output the word passed provided the value of the variable exam is greater than or equal to 60
good
2 głosów
3 odpowiedzi
1st Jul 2017, 12:34 PM
Aderibigbe Ebenezer Adewale
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 głosów
6 odpowiedzi
17th Jan 2017, 6:57 AM
jonathin
How do I solve this question?
code
help
javascript
question
swift
timer
variable
1 Głos
6 odpowiedzi
24th Mar 2020, 9:22 AM
GARYTHEGAMER
Is it possible to "dissect" an answer using javascript?
answer
function
javascript
prompt
variable
3 głosów
2 odpowiedzi
20th Apr 2017, 9:49 PM
iBrandon
Is there a better way of doing this?
input
list
list.append
python3
variable
0 głosów
1 Odpowiedź
23rd Nov 2019, 6:54 PM
Steven Iannucci
81 Comments const Fill in the blanks to make a constant named total and the variable i that is only accessible inside the loop.
javascript
-1 Głos
3 odpowiedzi
29th Oct 2021, 3:49 PM
Kniffin Haruka
if the reference of any variable is deleted, and then if the no. is multiplied to another no. Will it give an error?
python
variables
1 Głos
4 odpowiedzi
22nd Oct 2016, 7:38 AM
Himanee
How does the subclass Dog inherit the variable legs with the value of 4 from the superclass Animal - Java
inheritance
0 głosów
2 odpowiedzi
10th May 2019, 2:54 AM
Shak 240
I need a JavaScript code that would perform a function after a countdown of a value assigned to a variable
css3
html5
javascript
1 Głos
1 Odpowiedź
4th Oct 2018, 8:36 PM
Emmanuel
It is showing an error in the 5th line i.e. in the variable result. Thank you in advance for your assistance pals
python3
0 głosów
2 odpowiedzi
24th Jun 2021, 2:38 AM
Sanchit Bahl
I was trying to put print(kilometer + "length"). I already created the variable for length but it says error. Can someone help?
python
0 głosów
2 odpowiedzi
3rd Oct 2020, 8:17 PM
Andres Villarreal
How to add a variable into a class which is not defined in the class. I want to add it after creating the class.
c#
class
classes
field
objects
0 głosów
3 odpowiedzi
21st Mar 2021, 7:01 AM
Mahdiuzzaman Nishat
we could have print the value of age variable directly in the class, then why use this.age ?
c#
this
0 głosów
2 odpowiedzi
4th May 2016, 6:57 AM
Umesh Kuniyal
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
< Do tyłu
1
...
43
44
45
...
49
Dalej >
Popularne dzisiaj
My profile is following -1 user right now!
1 Votes
BIT SHIFTING OPERATION.
2 Votes
I am 21 years old, I am interested in programming, but everywhere they write and talk about some kind of artificial intelligence
0 Votes
I just finished C intermediate, what to do now?
1 Votes
What do you think
1 Votes
Where can I actively practice my Python skills?
0 Votes
Ascii
1 Votes
How can I delete a waiting response for a code challenge
1 Votes
What will be the output of the following python code snippet?
0 Votes
How do I get better at web development?
0 Votes