Computer Science, asked by trollingwonly, 3 months ago

Identify and give the application of the following operators.

(a) / (b) //

Answers

Answered by allysia
3

Answer:

a) / is division operator and it performs regular division with decimals.

\\\tt [In] : \  7/5 \\\\\tt [Out] : \  1.4

b) // operator returns quotient.

\\\tt [In] : \  7//5 \\\\\tt [Out] : \    1

Answered by valeriy69
5

\huge{\mathtt{{\blue{\boxed{\tt{\pink{\orange{A}\purple{n}\blue{s}\red{w}\green{e}\pink{r᭄}}}}}}}}

/ is the division operator.

Example

x = 5 / 2

x is 2.5

// is the floor division operator

y = 5 // 2

y is 2

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!


santimeher40737: hiiii babu
Similar questions