C

@cmalanda

Ejercicio 13

PHP
1 month ago
<?php $factor=1; $num=0; echo "Ingrese un numero entero positivo\n"; $num= (int) trim(fgets(STDIN)); while ($num>1) { $factor=$factor*$num; $num=$num-1; } echo "El factorial del numero es: $factor\n";

basedatos_minitienda

SQL
1 month ago
-- 1. Creación de la Base de Datos CREATE DATABASE IF NOT EXISTS minitienda; USE minitienda; DROP DATABASE IF EXISTS minitienda; -- Added to ensure a clean database on each run -- 2. Tabla Productos CREATE TABLE IF NOT EXISTS productos ( id INT

agencia

MySQL
1 month ago
-- create a table CREATE TABLE agencia_acotraworld ( id_agencia INT PRIMARY KEY, nombre TEXT NOT NULL, direccion TEXT NOT NULL, telefeno TEXT NOT NULL ); -- insertar los 10 registros INSERT INTO agencia_acotraworld VALUES (1, 'Viajes Mextrip', 'rue

dede

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

Estudo_MongoDB_Funcionariosjs

MongoDB
1 month ago
// ====================== // Banco de Dados EMPRESA // ====================== // Cria o banco de dados empresa use empresa // Exclui banco de dados selecionado // db.dropDatabase();

Code 6_unit-2cpp

C++
1 month ago
#include <iostream> class Academic { protected: int academicMarks; public: explicit Academic(int marks) : academicMarks(marks)

es 13.2java

Java
1 month ago
import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String[] args) { Float prezzo; int sconto;

Ma_salle_de_sport

SQL
1 month ago
-- create a table CREATE TABLE adherents ( id INTEGER PRIMARY KEY, nom TEXT NOT NULL, prenom TEXT NOT NULL, email TEXT NOT NULL, date_naissance DATE, date_inscription DATE );

es13

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) { Scanner tastiera=new Scanner(System.in); System.out.println("Ins

2-14

Java
1 month ago
import java.util.Scanner; public class main14 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); if (sc.hasNextLong()) { long ms = sc.nextLong(); long total;

Employee Payroll System

C++
1 month ago
#include <iostream> #include <string> using namespace std; class Employee { protected: int empId; string name; string department;

Negativo Positivo y Cero

PHP
1 month ago
<?php $numero = 0; //Pedir Datos echo "Digite el numero \n"; $numero = (int) trim(fgets(STDIN)); //Condiciones

Test

Python
1 month ago
from pathlib import Path import json import sqlite3 def get_data(file, path): file_path = Path(file) if file_path.is_file(): if file_path.suffix.lower() == "json": with open(file_path, 'r', encoding='utf-8') as f:

Ejercicio 319/9

PHP
1 month ago
<?php //Crear variables $edad=1; for ($i = 1; $i <= 3220;$i++) { $edad = readline("Ingrese la edad $i: "); echo "Edad $i: $edad\n"; } ?>

4-1 연습문제

Python
1 month ago
'''문제 1. 같은 위치의 숫자 출력하기 두 리스트가 있다. numbers1 = [10, 20, 30, 40, 50] numbers2 = [10, 25, 30, 45, 50] 같은 위치에 있는 숫자를 한 줄씩 출력해보자. 10 10 20 25

Ftfrde

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

ordenação SQLsept

MySQL
1 month ago
CREATE TABLE funcionarios ( nome VARCHAR(100), departamento VARCHAR(50), salario DECIMAL(10,2), data_admissao DATE ); INSERT INTO funcionarios (nome, departamento, salario, data_admissao) VALUES ('Marcelo', 'TI', 5200.00, '2021-03-1

main.01sept

SQL
1 month ago
CREATE TABLE Cliente ( id_cliente INT PRIMARY KEY, nome VARCHAR(100) NOT NULL, cpf VARCHAR(14), telefone VARCHAR(20), endereço VARCHAR(150), email VARCHAR(100) ); CREATE TABLE Categoria (

TD3 EXO 2

MySQL
1 month ago
CREATE TABLE Pays ( code VARCHAR(3) PRIMARY KEY, nom VARCHAR(100), continent VARCHAR(50), superficie INT, population INT, esperance_de_vie FLOAT, code2 VARCHAR(3) ); CREATE TABLE Ville (

base

NodeJS
1 month ago
// Créons le composant qui est 1 bouton personnalisé appellé "BoutonAction.jsx" // fichier src/components/BoutonAction.jsx import React from 'react'; function BoutonAction({ texte, onClick }) // texte et onClick st des props(propriétés) qui