C

@cmalanda

Ejercicio 15PHP

PHP
1 month ago
<?php $num=0; $cantidad=0; $suma=0; $promedio=0; $mayor=0; $menor=0; $opcion=0; while ($opcion!=2) { echo "1: Registrar numero\n";

LARDINOIS_Louis_CelsiusToFahrenheit20/09

C++
1 month ago
#include <iostream> #include<string> int main() { float celsius; std::cout << "Enter the celsius value : "; std::cin >> celsius; float fahrenheit = (celsius * 9.0 / 5.0) + 32.0;

AlejandroNavarroRomero_E1_Suma

Java
1 month ago
public class AlejandroNavarroRomero_E1_Suma { public static void main(String[] arg) { int primerNumero = 143; int segundoNumero = 132; int resultado = primerNumero + segundoNumero; System.out.println("El res

sql practice

SQL
1 month ago
-- -- Basic SQL -- -- Q1. Insert an employee with emp_id = 4, name Priya, age 25, and salary 55000. -- -- Q2. Display only the name and salary of all employees. -- -- Q3. Display employees whose salary is greater than 50000. -- -- Q4. Display em

Ultimate Battlegrounds Script Hublua

Lua
1 month ago
local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))() local Window = Rayfield:CreateWindow({ Name = "Ultimate Battlegrounds", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to

main.py

Python
1 month ago
def is_palindrome(string): pass print (is_palindrome('ufhufdh')) False print(is_palindrome('gfggfggfg')) True print(is_palindrome('AA')) True

POO_U4_A4

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!"); } }

deleting the last number and printing a new number

C
1 month ago
#include <stdio.h> int main(){ int num, lastdigit,newnum; printf("Enter a number: "); scanf("%d", &num); lastdigit = num%10; newnum = num/10; printf("Last digit = %d\n", lastdigit); printf("The new number = %d\n", newnum)

POO_U4_A42009

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!"); } }

empdata

SQL
1 month ago
-- create a table CREATE TABLE EMPLOYEE ( ENO NUMBER NOT NULL PRIMARY KEY, ENAME VARCHAR2(30) NOT NULL, DEPT VARCHAR2(20) NOT NULL, BASIC NUMBER CHECK (BASIC > 5000 AND BASIC < 45000) ); -- insert some values INSERT INTO EMPLOYEE VAL

CN 4 Distace Routing Vector

C++
1 month ago
#include <iostream> #include <vector> #include <string> #include <iomanip> using namespace std; const int INF = 999999; int main() {

swap two variables without using a third variable

C
1 month ago
#include <stdio.h> int main(){ int a,b; printf("enter two numbers: "); scanf("%d%d",&a,&b); a=a+b; b=a-b; a=a-b; printf("after swapping:\n"); printf("a=%d\n", a);

영단어 역출력

C
1 month ago
#include <stdio.h> int main() { char arr1[20], arr2[20]; int cnt = 0; //cnt: 글자 수 scanf("%s", arr1); for(int i = 0; arr1[i] != '\0'; i++) cnt++; //글자 수 Array = 5

CN 4 Distace Routing Vector

C++
1 month ago
#include <iostream> #include <vector> #include <string> #include <iomanip> using namespace std; const int INF = 999999;

New.file1

MySQL
1 month 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

Proyecto con async

Python
1 month ago
#core/CLI.py import logging logging.basicConfig( level=logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s" ) import subprocess import typer

Proyecto con async20/10

Python
1 month ago
#core/CLI.py import logging logging.basicConfig( level=logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s" ) import subprocess import typer

0hyhuhuhuh2010

C++
1 month ago
#include<iostream> #include<cmath> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a==10) cout<<a; else if(a==9) cout <<b; else cout <<c;

실습12009

C
1 month ago
#include <stdio.h> int main() { int input; int hour; int min; int sec; printf("정수를 입력하세오: ");

Proyecto con async

Python
1 month ago
#core/CLI.py import logging logging.basicConfig( level=logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s" ) import subprocess import typer