So i have a homework due in a few hours and i think im screwed
Here is what i want to do i need some help with the syntax
comparing to values
If they are the same then we go to end of program
if they are not the same we continue on
so i wrote
Code:if (x==y) {return(0)};
Also i tried the jump which i dont think works in C
e.g
return(0)Code:if (x==y){jump end}; end
Can someone please give me a hand its my first c aisgnment and our teacher is a loser and gave us way more then we can handle
she has not even taught us how to use if and she expects us to be able to use it
Thanks