Recent projects

Chapter12ex2.c

C · an anonymous user
1 day ago
/* Example program #2 from Chapter 12 of Absolute Beginner's Guide to C, 3rd Edition File Chapter12ex2.c */ /* This program asks for a last name. If the name starts with a letter between P and S, the user goes to a special room. */ #incl

Erstes Mal coden

Lua · an anonymous user
1 day ago
time = os.date("*t") stunde = time.hour minute = time.min print("Aktuelle zeit:".. stunde..":"..minute) if stunde < 12 then print("guten morgen") elseif stunde < 18 then print("guten tag") else

2.mal programmieren

Lua · an anonymous user
1 day ago
ingredients = {" lukas", " johan", " konrad"} for i, value in pairs (ingredients) do print("hallo"..value) end time = os.date("*t") stunde = time.hour

Slope calculator

C# · an anonymous user
1 day ago
using System; namespace MyCompiler { class Program { public static void Main(string[] args) { string type = Console.ReadLine(); if (type == "b" | type == "B"){ int y = int.Parse(Consol

senha

Python · murilokauan
1 day ago
senha_correta ="Python123" tentativa = input("Digite a senha: ") if tentativa == senha_correta: print("Acesso libera!") else: print("Senha incorreta!")

test_datos

SQL · an anonymous user
1 day ago
-- 1. Insertamos un producto de prueba en la tabla del Grupo A INSERT INTO productos (codigo_interno, nombre, slug, descripcion, publicado, disponible) VALUES ('CAR-001', 'Bife Ancho Premium', 'bife-ancho-premium', 'Corte seleccionado de novillo.',

corazón

Java · an anonymous user
1 day ago
const floatParticles = []; const burstPacticles = []; const FLOAT_COUNT = 140; for (let i = 0; i < FLOAT_COUNT ; i++) { const p = new Particle( Math.random() * width, Math.random() * height, "float"); p.life = Math.random() * p.maxli

Erstes Mal coden

Lua · an anonymous user
1 day ago
time = os.date("*t") stunde = time.hour minute = time.min print("Aktuelle zeit:".. stunde..":"..minute) if stunde < 12 then print("guten morgen") elseif stunde < 18 then print("guten tag") else

2.mal programmieren

Lua · an anonymous user
1 day ago
ingredients = {" lukas", " johan", " konrad"} for i, value in pairs (ingredients) do print("hallo"..value) end time = os.date("*t") stunde = time.hour

Player damage print test (for fun)

Lua · an anonymous user
1 day ago
local playerHealth = 100 local beingDamaged = "true" local damageAmount = 7.25 local damageMultiplier = 1 if beingDamaged == "true" then damageAmount = damageAmount * damageMultiplier playerHealth = playerHealth - damageAmount print("He

Chapter11ex3.c

C · an anonymous user
1 day ago
/* This program asks the user their state of happiness on a scale of 1 to 10 and then gives a custom 2-line message based on their range. */ #include <stdio.h> main() { int prefer; printf("On a scale of 1 to 10, how happy are you?\n");

Player damage code

Lua · an anonymous user
1 day ago
local playerHealth = 100 local beingDamaged = "true" local damageAmount = 7.25 local damageMultiplier = 1 if beingDamaged == "true" then damageAmount = damageAmount * damageMultiplier playerHealth = playerHealth - damageAmount print("He

Chapter11ex3.c

C · an anonymous user
1 day ago
/* This program asks the user their state of happiness on a scale of 1 to 10 and then gives a custom 2-line message based on their range. */ #include <stdio.h> main() { int prefer; printf("On a scale of 1 to 10, how happy are you?\n");

val_lagr

Octave · an anonymous user
1 day ago
function [v] = val_lagr(a,f,x) n = length(a); v = 0; for k = 1:n l = 1; for i = 1:n if i ~= k l = l * (x-a(i))/(a(k)-a(i)); end end

CODIGO TRABAJO

Java · an anonymous user
1 day ago
// Contrato: toda modalidad debe saber calcular su costo interface Servicio { double calcularCosto(); } // Urbano: tarifa base + kilómetros recorridos class ViajeUrbano implements Servicio { private double tarifaBase; private double kil

calculadora de média

Python · murilokauan
1 day ago
# Calculadora de média nota1 = 8.0 nota2 = 7.0 nota3 = 6.5 média =(nota1 + nota2 + nota3) / 3 print(f"sua média final foi: {média}")

beecrowd 2292 Panel Led

C# · an anonymous user
1 day ago
using System; class URI { public static void Main(string[] args) { int cantpruebas = int.Parse(Console.ReadLine()); for (int i = 1; i <= cantpruebas; i++) { string entrada = Console.ReadLine(); }

NvoFormulario

Python · heriberto_rodriguez_monsalvo
1 day ago
import tkinter as tk import user_code File "/tmp/main.py" File "/temp/user_code.py" ventana = "/tmp/main.py" ventana.title("Formulario Tkinter") def enviar_datos(): print("Nombre: ",nombre.get()) print("Edad:",edad,get()) print("Email":,

Pesquisa - Funções String

MySQL · an anonymous user
1 day ago
/* ============================================================================ PESQUISA DE FUNÇÕES DE STRING NO MYSQL Descrição: Detalhamento de finalidade, sintaxe genérica e exemplos práticos. ============================================

Panahi

C · an anonymous user
1 day ago
#define F_CPU 16000000UL #include <avr/io.h> #include <util/delay.h> int main(void) { // تنظیم پایه‌های مورد نظر به عنوان خروجی DDRB |= (1 << 2) | (1 << 5); // PB.2 و PB.5 DDRC |= (1 << 3); // PC.3 DDRD |= (1 << 5);