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. Beautiful people who didn't get pretty until high school or later, and were nice because they were ugly. The niceness carries over ..
1. Marijuana, herb, ganja, pot, reefer, buds. I issued so much kwonk the other night. 2. A large turtle. Q: What did you have for dinne..
1. Simply put, it is an abbreviation for "Gaysian", or "Gay Asian". G=Gay AZN=Asian GAZN=Gaysian Asian kid #1: AZN ..