my program works for greater values but not for small values…i get NZEC error…
btw…
are v supposed to give different conditions for each subtask or one is sufficient
my program works for greater values but not for small values…i get NZEC error…
btw…
are v supposed to give different conditions for each subtask or one is sufficient
You get a NZEC when your code wont return 0 when it exits…
Your second statement is not that clear to me but I think the answer is that we dont need to specify different conditions .You need to make only one program that runs for each value in that range