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. Title of an old Frank Zappa song. A pretty funny one at that. Can be found on albums "Zappa in New York" and "Baby Snak..
1. kicked in the genitals. When I found out she was sleeping around on me, I felt like I was kicked in the junk. See kicked in the nuts, ..
1. a girl with more rolls then a bakery, and has side burns. Tends to eat like a beast Anna Nicole Smith is a Jabberwoki..