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 first album by the Memphis based rap group Three 6 Maifa Many references to Satan are on this album. Considred to be much darker tha..
1. Another word to say someone is ugly nicely Hello Mykola I Mykola'd the teacher today You F*cking Mykola How are you? are you fe..
1. when you spread your arse cheeks and silently fart on a sleeping guys head he was so wasted i was able to fwabble him..