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. A person who likes to watch his dogs have sex wow zach20044 is watching them have sex again See zach, zack, zac, zacky, zachy..
1. Me love you long time! a japanese pirate hooker from Canberra That was soo Canbranese right now See canberra, japanese, pirate, hooker..
1. (v.) To either avoid beer altogether or to actively pursue an enthusiastic appreciation of it. Actual suitable application of the defini..
Book Banner