I found this question, and whenever I try to run it, it gives me an error that it could not compile because the variable r has not been initialized. This is the question....
int n=1; int k=2; int r;
if(k<r) {
r=n;
}
"What is the value of each variable after the if statement?"
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire