C

@cmalanda

My SQL27/09

SQL
3 days ago
-- LIBRARY MANAGEMENT DATABASE -- This database contains three tables: -- Books stores information about library books. -- Members stores information about library members. -- Loans records books borrowed by members. -- 1. Create the Books table

ch2-1

Java
3 days ago
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int result=a+b; int result2 = a * b ;

main

Lua
3 days ago
local WidgetContainer = require("ui/widget/container/widgetcontainer") local Dispatcher = require("dispatcher") local UIManager = require("ui/uimanager") local InfoMessage = require("ui/widget/infomessage") local DataStorage = require("datastorage")

concat.asm

Assembly
3 days ago
; ============================================================ ; Assignment 4 (a) : Concatenation of two strings ; ============================================================ %macro rw 4 mov rax,%1 mov rdi,%2 mov rsi,%3 mov rdx,%4

njnjnjnjnjn

C++
3 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "salut tout le monde!" << std::endl; std::cout << "a demain si tout va bien!" << std::endl; return 0; }

test rush1-1 epitech v2

C
4 days ago
#include <unistd.h> void my_putchar(char c) { write(1, &c, 1); } void rush(int x, int y) { int i;

franceioideb3.4

Python
4 days ago
musique=input() longueur=len(musique) liste=[0]*longueur for t in range(longueur): liste[t]=musique[t] lenactuel=longueur compteur=0 napas=0

gun random

Lua
4 days ago
--Randomizing a math.random math.randomseed(os.time()) --The setup of coins local spin_cost = 100 local coins = math.random(100,500) if coins >= 100 then repeat coins = coins - spin_cost print("Doing a

Activity_2.3

Assembly
4 days ago
section .data VAL_A dw 111 VAL_B dw 222 message db "The values were swapped.", 10 message_len equ $ - message section .text global _start _start: ; Five valid MOV forms: ; 1. Immediate to register

ererer

SQL
4 days ago
-- create a table CREATE TABLE students ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, gender TEXT NOT NULL ); -- insert some values INSERT INTO students VALUES (1, 'Ryan', 'M'); INSERT INTO students VALUES (2, 'Joanna', 'F'); -- fetch some val

cal.c

C
4 days ago
#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }

minecraft

NodeJS
4 days ago
<!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Galaxy Survivor</title> <style> * { box-sizing: border-box;

gun random

Lua
4 days ago
--Randomizing a math.random math.randomseed(os.time()) --the inventory and skin local skin_gun = math.random(1,3) local A = math.random(1,3) local inventory = {"Shotgun", "Pistol", "Rifle"} --the skin local

加法运算

C++
4 days ago
#include <iostream> using namespace std; int main() { float a,b; cin>>a>>b; float c=a+b; cout<<c<<endl; return 0; }

entrainement

Java
4 days 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
4 days 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
4 days 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
4 days 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++
4 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; return 0; }

?26/9essai

Python
4 days 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