+ 2

What does this sign mean /

Beginner

21st Nov 2019, 11:07 AM
Angel Isaac
10 ответов
+ 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 //
23rd Nov 2019, 10:17 AM
Vlad
Vlad - avatar
+ 4
It's the division operator 12/2 = 6
21st Nov 2019, 11:10 AM
Arsenic
Arsenic - avatar
+ 4
It's the same division operator that we use in maths a/b=c This means b*c must be = a
21st Nov 2019, 11:13 AM
Arsenic
Arsenic - avatar
+ 3
Oh! You mean this one <HTML>.......</HTML> in this "/" marks the closing of the tag
21st Nov 2019, 11:38 AM
Arsenic
Arsenic - avatar
+ 2
Add the language tag to your post
21st Nov 2019, 12:23 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
How? Please i am a beginner. I don't understand
21st Nov 2019, 11:11 AM
Angel Isaac
+ 1
How does it relate to html
21st Nov 2019, 11:14 AM
Angel Isaac
+ 1
It is Division operator and also known as forward slash.
21st Nov 2019, 1:00 PM
Firdous Khan
+ 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)
21st Nov 2019, 1:34 PM
Shporsoft Corporation
Shporsoft Corporation - avatar
- 1
In which languge
23rd Nov 2019, 6:55 AM
Nader Ezeldein mohamed
Nader Ezeldein mohamed - avatar