Está en la página 1de 2

PRIMER PUNTO

float proyecto= input ("ingrese la nota del proyecto")


float examen1= input ("ingrese la nota del examen1")
float examen2= input ("ingrese la nota del examen2")
float examen3= input ("ingrese la nota del examen3")
float examen4= input ("ingrese la nota del examen4")
float notafinal= 0

proyecto= proyecto*0.25
examen1= examen1*0.15
examen2= examen2*0.20
examen3= examen3*0.20
examen4= examen4*0.20

notafinal= proyecto+examen1+examen2+examen3+examen4

imprimir ("imprimir nota final %f", notafinal)

SEGUNDO PUNTO

float nota1= input ("ingrese la nota1")


float nota2= input ("ingrese la nota2")
float nota3= input ("ingrese la nota3")
float nota4= input ("ingrese la nota4")
float nota5= input ("ingrese la nota5")
float nota6= input ("ingrese la nota6")
float promedio= 0

promedio= (nota1+nota2+nota3+nota4+nota5+nota6)/6

imprimir ("imprimor promedio %f", promedio)

TERCER PUNTO

float valordolar= input ("ingrese el valor del dolar")


float valorpeso= input ("ingrese el valor a convertir")

float valorsalida= 1
valorsalida= valorpeso/valordolar

imprimir ("imprimir resultado de la conversion %f", valorsalida)

También podría gustarte