Thread: If Statements
View Single Post
Old 08-31-2005, 01:21 PM   #2 (permalink)
toe_cutter
Code Monkey
 
Join Date: Aug 2002
Location: Boston, MA
Posts: 79
toe_cutter is on a distinguished road
Send a message via ICQ to toe_cutter Send a message via AIM to toe_cutter Send a message via Yahoo to toe_cutter
This

if (housecolour != 'Y' && 'G')

Should probably be

if ( (housecolour != 'Y') && (housecolour != 'G') )

the same goes for your do/while statement

Toe
__________________
toe_cutter is offline   Reply With Quote