Buh how come it then responded to the && instead of the lgical OR.
Thought that for an OR, if one of the statements is true, the condition is true, but for the AND, if 1 is false, then the whole...
Type: Posts; User: moneyman021
Buh how come it then responded to the && instead of the lgical OR.
Thought that for an OR, if one of the statements is true, the condition is true, but for the AND, if 1 is false, then the whole...
I have managed to debug it successfully...apparently all my || were wrong and were meant to be &&
That leads me to ask; What is the difference between && and || ? And what exactly do they mean...
Either its not reading the String well or it's not returning the correct char.
It has no compile errors...just an endless do...while loop
Ignore the last printf method in the program. I have corected that.
What IS wrong with my code...I cant figure it out
Its meant to read a String in the do..while loop and get the char at the 0 position
/*
Drivers are concerned with the mileage their...