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. Has a sexy grill. Is a badass doctor. One of the bestest persons alive. Always makes me laugh and smile. SUPER HORNY. Is someone yo..
1. beautiful, and sweet way to refer to, Rachel (or Rachael). Also known to be related to a sparkling diamond laying in the crest of a flo..
1. An emoticon used on Message Boards indicating sarcasm or foolishness. Frequently used in conjunction with >_> RandomUser101: omg ..