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 sign of true accomplishment. "Sara and Alyssa just met Gabe Saporta, w00tz!" See w00t, w00, woohoo, 1337, horray..
1. To get with it. To Enjoying a present state of being. To Acknowledge a state of mind or happening. Daniel: " Hey are you gettin ..
1. Noun: Kyoon (qu-oon) Adjective: Kyooni (qu-oonie) 1. The fidelity of homosexuals engaged in their prevalent attitudes, which constitu..