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. One with loveable bear qualities; a youngster who enjoys lord of the rings that kid, what a khadar..
1. Derives from the east london slang word "eats" which means to perform a street robbery. Many other words have been changed by ..
1. A lttle runt, who sucks at all sports, is the real one one who likes Mil-er! He also had a fassination with going against what people s..