Boris Bernal

Generation

generate functionSat, 03 Jun 2023

Una Clínica desea llevar el registro de sus pacientes, donde cada paciente debe tener (código o cedula, nombres, apellidos, dirección, teléfono), el programa debe permitir: a. Registrar un nuevo paciente b. Eliminar paciente (en cualquier posición) c. Actualizar Pacientes (modificar algún dato) d. Mostrar Listado

struct patient { int code; int tel; string name; string lastName; string address; }; void main() { patient p[10]; for (int i = 0; i < 10, i++) { patient p[i] = {i, i, "name", "lastName", "address"}; } }

Want to kickstart your project?Use the new AI Studio to create your code