-function checkint(grado)
- {
- if (isNaN(grado))
- alert ("warning: you must enter a natural number in the grade box");
- else if (Number(grado)<0|Number(grado)!=Math.floor(Number(grado))) alert ("warning: you must enter a natural number in the grade box");
- }