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. 1. An inviting vagina. 2. A familiar vagina where one can safely park a schlong. You guys stay out, but I'm going home early. W..
1. lmgtfy = (abbreviation) let me google that for you lmgtfy lets you google for someone else. So for example, instead of answering a ques..
1. A magnificent being known for him tremendous knowledge and ability to make a realistic cricket chirp with his mouth. During the speech ..