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 best place on earth for a good, hearty breakfast laugh. Hey man, you like IHOP? It means International House of Poo! ROFL House! T..
1. fat bitch with a fat ass that guy is a total antoine See bitch, dumbass, anton, fatass, fat..
1. 1. Someone who expresses a complete lack of common sense or intellegence. After an act of dipnut has been done others who see it are nea..