Documentos de Académico
Documentos de Profesional
Documentos de Cultura
INSTITUTO TECNOLÓGICO DE
TIJUANA
SUBDIRECCIÓN ACADÉMICA
DEPARTAMENTO DE SISTEMAS Y COMPUTACIÓN
Semestre: AGOSTO – DICIEMBRE 2022
CARRERA
Ingeniería Sistemas Computacionales
MATERIA
Estructura de datos
TÍTULO
Reservación
UNIDAD
1
1
Código C# Reservación
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reservacion
{
internal class Reservacion
{
public Reservacion(string nombre, string fecha, string hora, int personas, string telefono)
{
this.nombre = nombre;
this.fecha = fecha;
this.hora = hora;
this.personas = personas;
this.telefono = telefono;
}
}
static void Main(string[] args)
{
Console.Title = " Bienvenidos al restaurante Come Feliz";
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.ForegroundColor = ConsoleColor.White;
string opcion;
do
{
2
Random r = new Random();
for (int i = 0; i < 10; i++)
{
}
//Programa Reservaciones
//Ortega Medina Abner Nahum Ortega Medina
//20211819