This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://unsplash.com/ | |
https://burst.shopify.com/ | |
https://www.pexels.com/ | |
https://pixabay.com/ | |
https://www.freeimages.com/ | |
https://kaboompics.com/ | |
https://stocksnap.io/ | |
https://www.canva.com/photos/free/ | |
https://www.lifeofpix.com/ | |
https://gratisography.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine("Maquina tragamonedas"); | |
Console.Write("Ingrese su nombre: "); | |
string? nombre = Console.ReadLine(); | |
bool existeNombre = false; | |
TragaMonedas tragaMonedas; | |
if (nombre != "") { | |
existeNombre = true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine("-------------"); | |
Console.WriteLine("Ingrese rut del cliente a consultar."); | |
Console.WriteLine("-------------"); | |
string rut = Console.ReadLine(); | |
PosibleCliente posibleCliente = new PosibleCliente(rut); | |
posibleCliente.Evaluacion(); | |
public class PosibleCliente{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine("Maquina tragamonedas"); | |
Console.Write("Ingrese su nombre: "); | |
string? nombre = Console.ReadLine(); | |
bool existeNombre = false; | |
TragaMonedas tragaMonedas; | |
if (nombre != "") { | |
existeNombre = true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use aiep_inicio | |
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos. | |
select producto.nombre, producto.precio, fabricante.nombre from producto, fabricante where fabricante.id_fabricante = producto.fabricante | |
select producto.nombre, producto.precio, fabricante.nombre from producto join fabricante on producto.fabricante = fabricante.id_fabricante | |
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos. Ordene el resultado por el nombre del fabricante, por orden alfabético. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE aiep_inicio; | |
USE aiep_inicio; | |
CREATE TABLE fabricante ( | |
id_fabricante INT identity(1,1) PRIMARY KEY, | |
nombre VARCHAR(100) NOT NULL | |
); | |
CREATE TABLE producto ( | |
id_producto INT IDENTITY(10,10) PRIMARY KEY, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine("Bienvenido a Javi Coins"); | |
Console.Write("Ingrese su nombre: "); | |
string nombre = Console.ReadLine(); | |
Console.Write("Ingrese su apellido: "); | |
string apellido = Console.ReadLine(); | |
Console.Write("Ingrese su direccion: "); | |
string direccion = Console.ReadLine(); | |
Console.Write("Ingrese su rut: "); | |
string rut = Console.ReadLine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Globalization; | |
Console.Clear(); | |
Console.CursorVisible = false; | |
Lineas(); | |
PintarRecuadro(ConsoleColor.White,3,1,18,5); | |
PintarRecuadro(ConsoleColor.Magenta,3,7,19,7); | |
PintarRecuadro(ConsoleColor.DarkBlue,25,1,31,5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Drawing; | |
using System.Linq; | |
using System.Runtime.Serialization.Formatters; | |
using System.Security.Claims; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use aiep_inicio | |
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos. | |
select producto.nombre, producto.precio, fabricante.nombre from producto, fabricante where fabricante.id_fabricante = producto.fabricante | |
select producto.nombre, producto.precio, fabricante.nombre from producto join fabricante on producto.fabricante = fabricante.id_fabricante | |
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos. Ordene el resultado por el nombre del fabricante, por orden alfabético. |
OlderNewer