C

@cmalanda

Unidad4_introduccion_Algoritmo

Python
3 weeks ago
# ========================================== # 1. BUSQUEDA LINEAL Y BUSQUEDA BINARIA # ========================================== # Lista de precios ordenados precios_ordenados = [60, 120, 150, 180, 220, 300] # Algoritmo de busqueda lineal

algorithme xyz

C
3 weeks ago
#include <stdio.h> int main() { int x,y,z,r; printf("enter x"); scanf("%d",&x); printf("enter y"); scanf("%d",&y); printf("enter z"); scanf("%d",&z);

Unidad4_introduccion_Algoritmo

Python
3 weeks ago
# ========================================== # 1. BUSQUEDA LINEAL Y BUSQUEDA BINARIA # ========================================== # Lista de precios ordenados precios_ordenados = [60, 120, 150, 180, 220, 300] # Algoritmo de busqueda lineal

variation de la largeur L de la tache centrale en fonction de 1/a

Python
3 weeks ago
import matplotlib.pyplot as plt import numpy as np # Données issues de la droite de pente 1.75 inv_a = np.linspace(0, 50, 100) L = 1.75 * inv_a plt.figure(figsize=(7, 5.5)) plt.plot(inv_a, L, color='purple', linewidth=2, label=r'$L = 1{,}75 \cdot

hello

MySQL
3 weeks 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'); insert into stude

Caso1

SQL
3 weeks ago
-- PASO 1: CREACIÓN DE LA BASE DE DATOS CREATE DATABASE BDTiendaLibros; GO USE BDTiendaLibros; GO -- PASO 2: CREACIÓN DE LA TABLA LIBRO CREATE TABLE tblLibro ( IDLibro VARCHAR(8) PRIMARY KEY,

NB CHIFFRE21102026

Python
3 weeks ago
n1=int(input("n1 = ")) nb1_chiffres=len(str(n1)) print("nombre de chiffre = " ,nb1_chiffres) n2=int(input("n2 = ")) nb2_chiffres = len(str(n2)) print("nombre de chiffre = " , nb2_chiffres) n3=int(input("n3 = ")) nb3_chiffres = len(str(n3)) print("n

ITC 350 SCAVENGER HUNT

SQL
3 weeks ago
Create table employee (fname varchar(10), minit char, lname varchar(10), ssn int, bdate char(10), address varchar(25), sex char, salary float, superssn int, dno int); insert into employee values ('John', 'B', 'Smith', 123456789, '1965-01- 09', '731

dharshan.m

Octave
3 weeks ago
close all;clear all;clc; vnow =zeros(30,30); vprev=zeros(30,30); vnow(30,:)=10; error=max(max(abs(vnow - vprev))); iter=0; while error>0.1 for i=2:29 for j=2:29 vnow(i,j)=(vnow(i+1,j)+vnow(i-1,j)+vnow(i,j-1))/4;

Scavenger_Hunt21102026

MySQL
3 weeks ago
CREATE TABLE employee ( fname VARCHAR(10), minit CHAR(1), lname VARCHAR(10), ssn BIGINT, bdate CHAR(10), address VARCHAR(30), sex CHAR(1), salary FLOAT, superssn BIGINT, dno INT ); INSERT INTO employee VALUES ('John','B','Smith',123456789,'1

압축과 해제

Python
3 weeks ago
압축전 = input("압축하려는 문자열: ") 압축후 = "" 글자수 = 1 이전문자 = 압축전[0] for 현재문자 in 압축전 [1:]: if 현재문자 == 이전문자: 글자수 = 글자수 + 1 else: 압축후 = 압축후 + 이전문자 + str(글자수) 글자수 = 1

clasificador de numeros

C++
3 weeks ago
#include <iostream> using namespace std; // Función para determinar si es positivo, negativo o cero void clasificarSigno(int numero) { if (numero > 0) { cout << "El numero es positivo." << endl; } else if (numero < 0) { cout

desc stock;

MySQL
3 weeks ago
-- create a table CREATE TABLE stock ( moblD varchar(50)primary key, brand varchar(50)not null, model varchar(30)not null, color varchar(30)not null, memSize varchar(10)not null, price float not null, stockNum int not null )

consultas21/10

MySQL
3 weeks 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');

parcial

Python
3 weeks ago
# SISTEMA DE PAGOS DEL RESTAURANTE BURGER LA 5 #precio de las hamburguesas PRECIO_SENCILLA = 20000 PRECIO_DOBLE = 25000 PRECIO_TRIPLE = 28000 IVA = 0.19

intelじゃないと許さないコード

Python
3 weeks ago
CPU=("Mac")#デバイスまたはメーカーを入力 年代=(3123)#そのPCの年代を入力(使われる時とない時がある) if CPU==("intel"): print ("intelっていいよね!") else: print ("intel使え!") if CPU==("AMD"): print ("intel入ってるよね?") if CPU==("Mac"): if 年代 >= (2020):

LOGIN

Python
3 weeks ago
print("LOGIN - SISTEMA S1D") usuario = "Dave" password = "12345678" usr = input("Usuario = ") pwd = input("Contraseña = ") if (usr == usuario) and (pwd == password): print("USUARIO VALIDO")

CH.02_1

Python
3 weeks ago
#파티 준비 number = int(input("참석자의 수를 입력하시오: ")) chickens = number beers = number * 2 cakes = number * 4 print("준비해야 할 치킨의 수: ", chickens) print("준비해야 할 맥주의 수: ", beers)

Ej_num_cuenta34

Python
3 weeks ago
def get_hidden_card(cuentauno): return "************"+cuentauno[-4:] cuentauno = get_hidden_card("1234567891234567") print(len(cuentauno)) print(cuentauno)

conversionNumeros

Python
3 weeks ago
print('DETERMINAR SI UN NUMERO ES POSITIVO O NEGATIVO') num = int(input("Numero : ")) if(num >= 0): print(num, "ES UN NUMERO POSITIVO") else: print(num, "ES UN NUMERO NEGATIVO")