Computer Science, asked by raviralayuvaraj, 5 months ago

how logical error can be rectified​

Answers

Answered by Braɪnlyємρєяσя
4

{\huge{\boxed{\tt{\color {red}{❥ ᴀɴsᴡᴇʀ}}}}}

To resolve a logic error, there's a few steps:

Understand what you're trying to accomplish. ...

Understand what your code did. ...

Form a hypothesis or two before looking at code. ...

Resolve syntax errors. ...

Identify key variables or conditions. ...

Step to your suspicious code. ...

Look at the relevant variables.

more information

A logic error (or logical error) is a mistake in a program's source code that results in incorrect or unexpected behavior. ... For example, assigning a value to the wrong variable may cause a series of unexpected program errors. Multiplying two numbers instead of adding them together may also produce unwanted results.

thanks u ❤️ :)

Answered by shinchan33594
0

Understand what you're trying to accomplish. ...

Understand what your code did. ...

Form a hypothesis or two before looking at code. ...

Resolve syntax errors. ...

Start the

Similar questions