Computer Science, asked by RKKHNAREHAN, 3 months ago

write an algorithm to add two numbers

Answers

Answered by Elezeneth
7

»« ♡︎ ᴄʜᴇᴄᴋ ᴏᴜᴛ ᴍʏ ʙɪᴏ ♡︎ »«

\begin{gathered}\begin{gathered}\begin{gathered}\begin{gathered}\begin{gathered}\sf Trigonometry\: Table \\ \begin{gathered}\begin{gathered}\begin{gathered}\begin{gathered}\boxed{\boxed{\begin{array}{ |c |c|c|c|c|c|} \bf\angle A & \bf{0}^{ \circ} & \bf{30}^{ \circ} & \bf{45}^{ \circ} & \bf{60}^{ \circ} & \bf{90}^{ \circ} \\ \\ \rm sin A & 0 & \dfrac{1}{2}& \dfrac{1}{ \sqrt{2} } & \dfrac{ \sqrt{3}}{2} &1 \\ \\ \rm cos \: A & 1 & \dfrac{ \sqrt{3} }{2}& \dfrac{1}{ \sqrt{2} } & \dfrac{1}{2} &0 \\ \\ \rm tan A & 0 & \dfrac{1}{ \sqrt{3} }&1 & \sqrt{3} & \rm \infty \\ \\ \rm cosec A & \rm \infty & 2& \sqrt{2} & \dfrac{2}{ \sqrt{3} } &1 \\ \\ \rm sec A & 1 & \dfrac{2}{ \sqrt{3} }& \sqrt{2} & 2 & \rm \infty \\ \\ \rm cot A & \rm \infty & \sqrt{3} & 1 & \dfrac{1}{ \sqrt{3} } & 0\end{array}}}\end{gathered}\end{gathered}\end{gathered} \end{gathered}\end{gathered}\end{gathered}\end{gathered}\end{gathered} \end{gathered}TrigonometryTable∠AsinAcosAtanAcosecAsecAcotA0∘010∞1∞30∘212331232345∘2121122160∘232133223190∘10∞1∞0

Answered by Feirxefett
4

Explanation:

The algorithm to add two numbers.

Declare variable ( Two variable to store the number input by the user and one variable is used to store the output).

  • Take the input of two numbers.

  • Apply the formula for addition.

  • Add two numbers.

  • Store the result in a variable.

  • Print the result.

Similar questions