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. to be highon marijuana "Oh, man, I was so zooed last night on the way into the concert, I could't even find my seat!" S..
1. This word can be expressed in any sentence. It can have any meaning you want it to! It can be used as a noun, adjective, verb, or an ex..
1. An awesome human being who is liked by everyone they meet. I like this kid a lot. He's definitely a Jaffe. See cameron 2. The G..