What type of loop is shown in the script below?
<script type = "text/javascript">
var gradeValue = 0,
total = 0,
grade = 0;
while ( gradeValue != - 1 )
{
total = total + gradeValue;
grade = window.prompt( "Enter Integer Grade, -1 to Quit:" , "0" );
gradeValue = parseInt( grade );
}
</script>
a) counter controlled
b) sentinel controlled
c) algorithm controlled
d) stepwise controlled