Skip to content

Instantly share code, notes, and snippets.

View santiagoct123's full-sized avatar

santiagoct123

View GitHub Profile
@santiagoct123
santiagoct123 / tarea15nov.c
Created November 8, 2023 08:38
TAREA15NOV
#include <stdio.h>
int main() {
// Declarar variables
int notas[3][5]; // Matriz para almacenar las notas de cada estudiante
int i, j; // se declaran las variables para almacenar numeros
float promedio; // Promedio de las notas
// se usa el bucle for para alamcenar en cada variable hasta el maximo que es 3 o 5
@santiagoct123
santiagoct123 / TRABAJO CLASE
Created November 8, 2023 02:27
registraduria
REGISTRADURIA
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template
*/
package registraduria;
/**
*
@santiagoct123
santiagoct123 / taller1.c
Created October 5, 2023 03:10
Taller 1 corte 2 TDS
#include <stdio.h>
#include <string.h>
// productos con descuento
const char* descuento[] = {
"8949899430",
"7653512593",
"9383867373",
"8839290420"
};
// productos con rifa
@santiagoct123
santiagoct123 / pra.c
Last active September 27, 2023 02:09
practica1
#include <stdio.h>
main()
(
int sumando1=12;
int sumando2=23;
int resultado=sumando1 + sumando2;
printf("this is my integher
|:%d \n",sumandototal);