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. (N.) A loud whistling sound used in Final Fantasy XI used to alert other members of a group of something or to gain the attention of som..
1. Furry fail 100M get. Let's not ever talk about it again... See 4chan, furry, fail, epic, /b/..
1. an irish last name can be spelt many other ways: haggerty, hagerty, haggarty, etc. It's spelt Hagarty not "erty"! See..