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
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:20
Determine the damped natural frequencies and the steady state response of a decoupled damped forced two degrees of freedom system. 10ä1 + 2q1 20q1 10 cos t; 10q2 +4q2 + 40q2 10 cos t
Answers: 3
question
Engineering, 04.07.2019 19:10
The short distance from the objective lens to the object causes problems at high magnification. which of the following is the most serious? a. cleaning the object surface b. positioning the object c. reflection from the object surface. d. illumination of the object
Answers: 1
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