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 belief that you can pull yourself out of any situation by yourself. Coservative Idiology bases some of it's beliefes on this ..
1. Zacheroni is like Maceroni but its not. me :na na na na Zachheral Zach : wtf me : ha. Zacheroni Zach : i hate that name me : its li..
1. big headed, full of shit, cocky Emma you are so rug headed See rug, head, cocky, dumb, hat..