+ 2
What does this sign mean /
Beginner
10 odpowiedzi
+ 5
The answer to your question depends on what programming language you use.
In C, C++:
10/4 =2 or maybe
10/4.0 = 2.5
If the result is assigned to a variable of real type. as you can see, the compiler converts there result to a real type if at least one operand is declared of a real type.
In Python
10/4= 2.5
10/5=2.0
10//4=2
10//5=2
There is no static typing in this language, and the type of result depends on the type of division operator used, i.e. / or //
+ 4
It's the division operator
12/2 = 6
+ 4
It's the same division operator that we use in maths
a/b=c
This means
b*c must be = a
+ 3
Oh! You mean this one <HTML>.......</HTML>
in this "/" marks the closing of the tag
+ 2
Add the language tag to your post
+ 1
How? Please i am a beginner. I don't understand
+ 1
How does it relate to html
+ 1
It is Division operator and also known as forward slash.
+ 1
Meanings:
* / sign means follow to second directory (C:/Windows)
* / sign means division (10/2=5)
*/ sign means closing HTML tag
*/ sign means end of string ( using with r, a, w in Python or \n)
- 1
In which languge