Computer Science, asked by dushtuchella, 4 months ago

Evaluate the expression and write the final value of the following:

i. 5+int (11/2)

ii. 2+22%2​

Answers

Answered by Oreki
2

\textsf{\large \textbf{I. \:\:}} \texttt{5 + int(11 / 2)}\\\texttt{\hspace{1.5em} -> 5 + 5}\\\texttt{\hspace{1.5em} -> 10}

\textsf{\large \textbf{II. \:\:}} \texttt{2 + 22 \% 2}\\\texttt{\hspace{1.7em} -> 2 + 0}\\\texttt{\hspace{1.7em} -> 2}

Similar questions