Trabajo de technological information

Solo disponible en BuenasTareas
  • Páginas : 2 (274 palabras )
  • Descarga(s) : 0
  • Publicado : 11 de junio de 2011
Leer documento completo
Vista previa del texto
CENTRO DE INVESTIGACIÓN Y DESARROLLO DE EDUCACIÓN BILINGÜE

CENTRO DE INVESTIGACIÓN Y DESARROLLO DE EDUCACIÓN BILINGÜE

Activity U2AC15
MarthaPatricia Estrella Sauceda
ID: 1568180
Group: 205
May 11th, 2011
Teacher: Mr. Jose Gamez

Activity #15
Elaborate a program to determine if a studentapproved or failed the course of Math. Take as base the average of the grades of the three partials. The general average must be greater than or equal to70.
Analysis of the problem |
Input data | Data of the process | Output data or result |
Partial aPartial bPartial c | First, to sum the threepartial examsThen, apply the formula: a+b+c/3Solve for averageDetermine if the student pass or fail | AveragePassFail |

1. Start
2. Read the threeresults of partial exams: a, b and c
3. Calculate the average with the formula: a+b+c/3
4. If the final average is > or equal than 70, go to step5, else go to step 6
5. Display “the student has approved”, go to step 7
6. Display “the student has failed”, go to step 7
7. End

StartStart

Read the three results of the partial exams: a, b and c
Read the three results of the partial exams: a, b and c

End
End
B: “The student hasfailed”
B: “The student has failed”
A: “The student has approved”
A: “The student has approved”
Average> or equal to 70, go to A, else go to BAverage> or equal to 70, go to A, else go to B
Apply the formula to calculate the average: a+b+c/3
Apply the formula to calculate the average: a+b+c/3
tracking img