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 evil villians of the dark underworld. Their task, my friends, is defeat the mighty and spectacular Weesnaw Wizard. Yes, my friends, ..
1. yo this is a when you brown bag your drank wiff some beaaahz ya erd meh? yo me and doody ranks were cold sippin on some jig bags on the..
1. the birdcage. A place teaming with fowl. Probably one of the most "dirty" places in the world guy 1- "yo man you wanna g..