0
What is the error in my gender validation program?
When I click into "male" and submit it works as I expected but when I select female and submit, it doesn't work. Please help me out. https://code.sololearn.com/WK9kZPYxlIa0/?ref=app
1 Antwort
+ 2
Missing braces
if(c[i].checked)
{
valid=true;
break;
}