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. the act of swearing with meaning or consistantly with calm purpose "That mother fucking piece of shit." (gwarfing) "Wel..
1. Making sure everyone gets to dance in the spot light, even though everyone can't dance. Not uniformly applied- may be necessary to ..
1. it is a word monica likes to yiggle See yiggle, monica, yiggles 2. When two black people rub their taints together causing extreme f..