Clase 2

PROGRAMACIÓN PHYTON

print ("Hola, vamos a hallar el promedio academico de las siguientes materias: Base de datos, Programacion, Ingles y matematicas")

m = float(input ("nota Matematicas"))
b = float(input ("nota Base de datos"))
i = float(input("nota ingles"))
p = float(input ("nota programacion"))

promedio = m*0.2+b*0.2+i*0.2+p*0.4

print ("listo, el promedio es", promedio)

Share this

Related Posts

Previous
Next Post »