Академический Документы
Профессиональный Документы
Культура Документы
1968"
INFORMTICA III
EXAMEN
3 "EV"
Cdigo en PseInt:
Proceso Inscripcion
Lenguage C
#include <stdio.h>
#include <conio.h>
int materias,veces;
float promedio,subtotal,descuento1,descuento2,total1,total2;
for (veces=1;veces<=6;veces++)
siguiente:");
scanf("%i",&materias);
scanf("%f",&promedio);
subtotal=(50*materias);
if (promedio<8.5)
descuento1=(10*subtotal/100);
total1=(subtotal-descuento1);
if (promedio>=8.5)
descuento2=(25*subtotal/100);
total2=(subtotal-descuento2);
getch();
return 0;