I'm learning C in my spare time so there are always little pieces of information I'm missing. For a simple program I wrote, I want it to say for the first if statement, if the age you entered was 18 and you are a girl then do "this".
I first had something like
if ((arg1 == 18) && (sex1 = girl))
but that doesn't work... i initialized all my variables and stuff, i just have the syntax wrong. can someone please give me an answer
Thanks