subject
Engineering, 16.02.2021 22:50 auzriannamarie

Ayuda con ejercicios de programacion: Ejercicio 6:

Haciendo uso de la aplicación de consola, debes crear un proyecto el cual debe preguntarte por el precio de un producto.

Si el precio que introducimos es inferior a 100, debemos mostrar cuánto es el 10% de ese precio. Si por el contrario es un precio superior o igual a 100
debemos mostrar cuánto es el 20% de ese precio.

En ambos casos debemos mostrar también el valor final de ese precio con el porcentaje incluido.

Debes enviarme el código utilizado en el proyecto (en un Word por ejemplo), explicando el significado de cada línea de código.

Puedes utilizar algún servicio online que permita lanzar código de forma inmediata. Por ejemplo https://dotnetfiddle. net/

Ejercicio 7

Haciendo uso de la aplicación de consola, debes crear un proyecto el cual debe preguntarte tu nombre y fecha de nacimiento, y devolverte una frase tipo:

”Hola Luis, si naciste viernes 15 de febrero de 1983, tu edad es de 37 años.”

Utiliza las propiedades y métodos de la estructura de fecha aprendidos en el Tema 3.

Debes enviarme el código utilizado en el proyecto (en un Word por ejemplo), explicando el significado de cada línea de código.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
question
Engineering, 04.07.2019 18:20
A3-mm-thick panel of aluminum alloy (k 177 w/m-k, c 875 j/kg-k and ? = 2770 kg/m) is finished on both sides with an epoxy coating that must be cured at or above t,-150°c for at least 5 min. the production line for the curing operation involves two steps: (1) heating in a large oven with air at ts,0-175°c and a convection coefficient of h, 40 w/m2. k, and (2) cooling in a large chamber with air at 25°c and a con- vection coefficient of he 10 w/m2.k. the heating portion of the process is conducted over a time interval te which exceeds the ime required to reach 150°c by 5 min (h = r + 300 s). the coating has an emissivity of ? = 0.8, and the temperatures of the oven and chamber walls are 175 and 25°c, respectively. if the panel is placed in the oven at an initial temperature of 25°c and removed from the chamber at a safe-to-touch tempera ture of 37°c, what is the total elapsed time for the two-step curing operation?
Answers: 3
You know the right answer?
Ayuda con ejercicios de programacion: Ejercicio 6:

Haciendo uso de la aplicación de con...
Questions
Questions on the website: 13722363