C

@cmalanda

entrainement

Java
1 month ago
import java.util.*; import java.lang.*; import java.io.*; // The main method must be in a class named "Main". class Main { public static void main(String[] args) { System.out.println("Hello world!"); } }

Library Database System

SQL
1 month ago
-- Create the library database CREATE DATABASE LibraryDB; -- Select the database USE LibraryDB; -- Create the Books table CREATE TABLE Books ( ISBN VARCHAR(20) PRIMARY KEY, Title VARCHAR(150) NOT NULL,

GROUP_CONTACTS

MySQL
1 month ago
CREATE TABLE Contacts ( ContactID INT AUTO_INCREMENT PRIMARY KEY, FirstName VARCHAR(50), LastName VARCHAR(50), BirthDate DATE ); CREATE TABLE Addresses ( AddressID INT AUTO_INCREMENT PRIMARY KEY, ContactID INT,

Library Database System

SQL
1 month ago
-- Enable foreign key enforcement PRAGMA foreign_keys = ON; -- Create the Books table CREATE TABLE Books ( ISBN VARCHAR(20) PRIMARY KEY, Title VARCHAR(150) NOT NULL, Author VARCHAR(100) NOT NULL, Genre VARCHAR(50), Quantity INT

?26/9essairr

C++
1 month ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; return 0; }

?26/9essai

Python
1 month ago
nombre = input() print(f"Muy buenas {nombre}.") edad = int(input("¿Cuántos años tienes? \n")) if edad >= 18: print(f"Eres mayor de edad{nombre}") else print(f"llegadas{nombre}") if edad < 18

royaume-uni en Belgique

C++
1 month ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout <<"merci" << std::endl; std::cout << "A bientôt" << std::endl; std::cout << "A demain" <<std::endl; return 0; }

seszdtgfrtttttt26/9

SQL
1 month ago
-- create a table CREATE TABLE students ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, gender TEXT NOT NULL, immatricule integer var(4) , type-repas text not null ); create table repas ( id integer primary key ,

Program 6

C++
1 month ago
#include <iostream> class Distance { private: int meters; public: explicit Distance(int value) : meters(value) {} bool operator>(const Distance& other) const { return meters > other.meters; } void display() const {

FASE 2 proyecto BD

SQL
1 month ago
-- FASE 2: ESTRUCTURA DE TABLAS (DDL) -- RANGEL SALCEDO MELANIE VALERIA. SÁNCHEZ ESCOBAR YULIANA. -- 1. TABLAS DE DIMENSIÓN INDEPENDIENTES (SIN LLAVES FORÁNEAS) CREATE TABLE Entidades_Federativas ( id_entidad INT PRIMARY KEY, nombre_entid

Tarea 2 base de datos

MySQL
1 month ago
CREATE TABLE departamentos( id_dptos INT, nombre_dptos VARCHAR(50), presupuesto INT, PRIMARY KEY (id_dptos) ); DESCRIBE departamentos; CREATE TABLE empleados (

EduConnect Suite - 2

MySQL
1 month ago
-- SESSION 1 -- -- 1. Table Creation -- Table creation for Institution CREATE TABLE Institution ( InstitutionID INT AUTO_INCREMENT PRIMARY KEY, Name VARCHAR(255) NOT NULL, Address VARCHAR(255), Phone VARCHAR(20), Email VARCHAR(1

Resposta Transitória do Filtro RC de 1ª Ordem

Python
1 month ago
import numpy as np import matplotlib.pyplot as plt from scipy import signal # 1. Definição dos Parâmetros do Circuito RC (Filtro Acústico) R = 500.0 # Resistor em Ohms (0.5 kOhm) C = 0.3e-6 # Capacitor em Farads (0.3 uF) tau = R * C

Alumnos DataBase2609

SQL
1 month ago
CREATE TABLE ALUMNOS ( no_control VARCHAR(20) PRIMARY KEY, nombre VARCHAR(100) NOT NULL, carrera VARCHAR(50) DEFAULT 'OFIMATICA', grupo VARCHAR(10) DEFAULT '5DM', turno VARCHAR(20) DEFAULT 'MATUTINO' ); INSERT INTO ALUMNOS (no_c

Alumnos 5OM

SQL
1 month ago
CREATE TABLE Alumnos_ofimatica ( No INT PRIMARY KEY, No_Control VARCHAR(20) NOT NULL, Nombre VARCHAR(100) NOT NULL ); INSERT INTO Alumnos_ofimatica (No, No_Control, Nombre) VALUES (1, '24302052370271', 'ACEVEDO CARRERA ESTEFANY'), (2, '

charla

Python
1 month ago
hola como estas "Hola, ¿cómo estás?" Leer respuesta Si respuesta = "bien" Entonces Escribir "¡Me alegra mucho saberlo!" Sino Si respuesta = "mal" Entonces Escribir "Lo siento. Espero que pronto estés mejor." Sino Escribir "Gracias por c

Practica 3

MySQL
1 month ago
CREATE TABLE Clientes ( cliente_id INT PRIMARY KEY, nombre VARCHAR(50), email VARCHAR(50) ); CREATE TABLE Productos ( producto_id INT PRIMARY KEY, nombre_producto VARCHAR(50), precio DECIMAL(10, 2)

LIBRARY DATABASE SYSTEM

SQL
1 month ago
-- ========================================================= -- LIBRARY DATABASE SYSTEM -- Assignment 4 -- ========================================================= -- Create the database -- CREATE DATABASE LibraryDB; -- Select the database for us

Primoprogramma

C++
1 month ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "Buon weekend!" << std::endl; return 0; }

Assignment_W2D4A2

C++
1 month ago
#include <iostream> #include <vector> #include <queue> #include <map> #include <set> #include <algorithm> #include <random> #include <ctime> using namespace std;