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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, Tcareyoliver
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
image
Computers and Technology, 23.06.2019 01:00, leo4687
Complete the sentence about a presentation delivery method
Answers: 2
image
Computers and Technology, 23.06.2019 05:00, bellad0124outlookcom
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
image
Computers and Technology, 23.06.2019 19:00, brittneyrenae7338
This question involves a class named textfile that represents a text file. public class textfile { private string filename; private string filename; private arraylist words; // constructors not shown // postcondition: returns the number of bytes in this file public int filesize() { } // precondition: 0 < = index < words. size() // postcondition: removes numwords words from the words arraylist beginning at // index. public void deletewords(int index, int numwords) { } // precondition: 0 < = index < = words. size() // postcondition: adds elements from newwords array to words arraylist beginning // at index. pub lic voidaddwords(int index, string[] newwords) { } // other methods not shown } complete the filesize() method. the filesize() is computed in bytes. in a text file, each character in each word counts as one byte. in addition, there is a space in between each word in the words arraylist, and each of those spaces also counts as one byte. for example, suppose the words arraylist stores the following words: { mary had a little lamb; its fleece was white as snow. } the filesize() method would compute 4 + 3 + 1 + 6 + 5 + 4 + 6 + 3 + 5 + 2 + 5 as the sum of the lengths of each string in the arraylist. the value returned would be this sum plus 10, because there would also be 10 spaces in between the 11 words. complete the filesize() method below: // postcondition: returns the number of bytes in this file public int filesize() { }
Answers: 1
You know the right answer?
Necesito hacer estos dos ejercicios de programación , con el visual Basic que es el programa, podeis...

Questions in other subjects:

Konu
Social Studies, 08.11.2019 02:31
Konu
Mathematics, 08.11.2019 02:31