LexarG56

Generation

generate functionSun, 18 Jun 2023

Crear un menu con el boton de crear una cita de soporte tecnico.

Script #!/bin/bash # Author: [YOUR NAME] clear echo "------------------------------------------" echo " Bienvenido a la sesion de soporte tecnico " echo "------------------------------------------" echo " [1] - Crear una cita " echo " [2] - Ver citas pendientes " echo " [3] - Salir " echo "------------------------------------------" read -p " Enter your choice [1-3] : " choice case $choice in 1) " Cita creada" sleep 2 ;; 2) " Cita pendiente" sleep 2 ;; 3) exit 0 ;; *) echo " Incorrect choice" sleep 2 ;; esac

Questions about programming?Chat with your personal AI assistant