Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.WriteLine("Ingrese pago por hora");
- do
- {
- try
- {
- pagoPorHora = int.Parse((Console.ReadLine()));
- }
- catch (Exception ex)
- {
- Console.WriteLine("Debe ingresar un valor entero", ex.Message);
- pagoPorHora = 0;
- }
- } while (pagoPorHora == 0);
Add Comment
Please, Sign In to add comment