The cause of any unexpected and undesired outcome.  Usually attributable to a fundamental lack of understanding of the underlying situation.  Most logic errors are minor logic errors.
by aero March 14, 2003
Get the logic errormug. by /dev/null March 14, 2003
Get the minor logic errormug. #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!\n";
else
cout<<"Good job!\n";
}
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!\n";
else
cout<<"Good job!\n";
}
by aero March 14, 2003
Get the minor logic errormug.