This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
// Definir el tamaño del arreglo bidimensional | |
const int filas = 3; | |
const int columnas = 5; | |
// Crear el arreglo bidimensional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
void tiempo(int segundos, int& horas, int& min, int& seg) { | |
// Calcular las horas | |
horas = segundos / 3600; | |
// Calcular los minutos | |
segundos %= 3600; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main() { | |
// Definición de variables | |
float a = 2.0; // Duración promedio de llamada en minutos | |
float probability; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
// Se declara una variable para almacenar el número de experimentos | |
int number_experiments = 4; | |
// Ciclo para cada experimento | |
for (int experiment = 1; experiment <= number_experiments; experiment++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main () { | |
// Declaración de variables | |
float radius, distance, volume; | |
// Pedir al usuario que introduzca el radio y la distancia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
// Declarar variables | |
int a = 1; // Primer término | |
int d = 3; // Diferencia común | |
int n = 100; // Número de términos | |
int i = 1; // Contador |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main() { | |
// Declaración de variables | |
int month, day; | |
// Solicitar y almacenar el mes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[-- | |
@package Solus Frontend | |
@filename truncate.lua | |
@version 1.0 | |
@author Díaz Urbaneja Víctor Eduardo Diex <[email protected]> | |
@date 04.01.2021 19:53:44 -04 | |
@see https://github.com/diazvictor/solus-organizer/blob/solus-new/test/truncate.lua | |
]] | |
local str = "Donkey Kong Country 3 - Dixie Kong's Double Trouble.sfc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Button defect styles reset */ | |
button { | |
box-shadow: none; | |
text-shadow: none; | |
border: none; | |
outline: none; | |
} | |
/* The box will simulate the border */ | |
box { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**! | |
* @package SoloLearn | Sql | |
* @filename cakes.sql | |
* @autor Díaz Urbaneja Víctor Eduardo Diex <[email protected]> | |
* @date 24.03.2021 17:54:43 -04 | |
*/ | |
-- This is an exercise from the solorearn course: | |
-- https://www.sololearn.com/learning/1060/ |
NewerOlder