Minor Logic Error

What is Minor Logic Error?


1.

A logic error that appears to be catastrophic, but is very easy to correct.

#include <iostream.h>

void main()

{

int num;

cout<<"Do NOT enter the number 1:";

cin>>num;

if(num=1)

cout<<"You idiot! I said NOT to enter the number 1! ";

else

cout<<"Good job! ";

}

See aero

2.

When the CS202 student conveniently forgets parenthesis at the top of their function

int main /* what is missing here ? */

{

...

}

See /dev/null


11

Random Words:

1. A guy who is used in place of a boyfriend while the boyfriend is away or unavailable. It's like a booty call, but the guy is discar..
1. A quick, discrete name for pointing out polish people or other foreign europeans. The name is derived from Polish language seemingly con..
1. Named after Jude, the patron saint of lost causes. St. Jude's is a Children's Research Hospital for children with terminal ill..