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 way to spell out P.M. in long form, which itself stands for, "pretty much" "I heard you won the dodgeball tournament..
1. Chocolate version of a Cougaror Urban Cougar. Sometime called "Black Cougar". This variety can usually dance and move much bet..
1. Native American Pussy Have you ever seen a squawsnatch in the wild? See pussy, bush, snatch, gateway to her guts, axe wound, couchie..