subject

Necesito hacer estos dos ejercicios de programación , con el visual Basic que es el programa, podeis ayudarme?? ejercicio 1: 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.

Ejercicio 2:
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.

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

Gracias

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
Consider the following statements: #include #include class temporary { private: string description; double first; double second; public: temporary(string = "", double = 0.0, double = 0.0); void set(string, double, double); double manipulate(); void get(string& , double& , double& ); void setdescription(string); void setfirst(double); void setsecond(double); }; write the definition of the member function set() so that the instance variables are set according to the parameters. write the definition of the constructor so that it initializes the instance variables using the function set() write the definition of the member function manipulate() that returns a decimal number (double) as follows: if the value of description is "rectangle", it returns first * second if the value of description is "circle" it returns the area of a circle with radius first if the value of description is "cylinder" it returns the volume of a cylinder with radius first and height second. hint: the volume of a cylinder is simply the area of the circle at the base times the height. if the value of description is "sphere" it returns the volume of the sphere with radius first. otherwise it returns -1.0;
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
The fourth generation of computers emerged between 1970s and 1980s. which technological advancement brought about this generation of computers? which computer architecture was used most in this generation?
Answers: 3
You know the right answer?
Necesito hacer estos dos ejercicios de programación , con el visual Basic que es el programa, podeis...
Questions
question
Business, 12.02.2021 19:50
question
Mathematics, 12.02.2021 19:50
question
Mathematics, 12.02.2021 19:50
question
Mathematics, 12.02.2021 19:50
question
Health, 12.02.2021 19:50
question
Chemistry, 12.02.2021 19:50
Questions on the website: 13722363