This program prompts the user to enter a grade average between 0-99 and displays whether the student passed or failed based on that input. It first displays the word "notas" at coordinates 1,30 and prompts the user to enter a grade average between 0-99 by displaying text at 5,5 and accepting numeric input. It then conditionally displays either "pasa" or "no pasa" at coordinates 7,35 depending on if the entered grade average is greater than or equal to 65.
This program prompts the user to enter a grade average between 0-99 and displays whether the student passed or failed based on that input. It first displays the word "notas" at coordinates 1,30 and prompts the user to enter a grade average between 0-99 by displaying text at 5,5 and accepting numeric input. It then conditionally displays either "pasa" or "no pasa" at coordinates 7,35 depending on if the entered grade average is greater than or equal to 65.
This program prompts the user to enter a grade average between 0-99 and displays whether the student passed or failed based on that input. It first displays the word "notas" at coordinates 1,30 and prompts the user to enter a grade average between 0-99 by displaying text at 5,5 and accepting numeric input. It then conditionally displays either "pasa" or "no pasa" at coordinates 7,35 depending on if the entered grade average is greater than or equal to 65.
clear store 0 to nota @1,30 say "notas" @5,5 say "ingrese nota del promedio:" get nota pict "99" read if nota >= 65 @7,35 say "pasa" else @7,35 say "no pasa" endif