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. Was a popular character on the hit 90's Teen show "Saved by the bell". He is a cross between ferris bueller and Tom Cruis..
1. The term itself means "Fire in the Hole!. A popular term used in SOCOM. The Asian terrorists would scream out "QUALIBHAD"..
1. The term used for food eaten while playing World Of Warcraft. Such as Chips,pop,cakes,etc. I have to go to the store and get more W.O.W..
Book Banner