basically i want to keep looping until i enter an a or A (also does this apply to if statements aswell?) no idea what im doing wrong, any help will be greatly appreciated
Your code does not compile. The name gender is undefined.
Also, the logical or operator || should be changed to a logical and &&.
If the character is 'a', it cannot simultaneously be 'A', thus one of the not-equal tests will always be true. When || is used, that means the condition as a whole is always true.
Thanks guys but i figured it out like 10 seconds ago, had to read my notes on the boolean operators. That being said ill make sure to use code tags, sorry about the mistake first time on the boards.