Steps to deploy Node.js to VPS using PM2 and Github Actions
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 <stdio.h> | |
int diagonalDifference(int arr[3][3]); | |
int main(int argc, char* argv[]){ | |
int arr[3][3] ={{1,2,3}, {4,5,6},{7,8,9}}; | |
printf("Resultado: %d\n", diagonalDifference(arr)); | |
return 0; | |
} | |
int diagonalDifference(int arr[3][3]){ |
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
using System; | |
using System.Numerics; | |
namespace Serie_de_Fibonacci | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Ingrese la posición para hallar el número de la sucesión de Fibonacci: "); |
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 <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define MAX 100; | |
void cifrar(char*,int); | |
void mostrarMenu(); | |
int main(int argc, char **argv) | |
{ |
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
table,td{ | |
border: 1px solid rgb(0, 110, 255); | |
padding: 25px; | |
background: rgb(206, 201, 201); | |
border-radius: 5px; | |
} | |
table{ | |
/*border-collapse: collapse;*/ |
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
import java.io.*; | |
public class piezaCa{ | |
private int movX; | |
private int movY; | |
private String cadena; | |
private String cadenaR; | |
public piezaCa(int movX, int movY){ | |
this.movX = movX; | |
this.movY = movY; |
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
import java.io.*; | |
// Programa que imprime las posiciones en las que se puede mover la pieza de ajedrez Caballo dentro de un tablero de 8x8 | |
public class Ejecutable{ | |
public static void main(String args[]){ | |
int posX = 0, posY = 0, contMov = 0; | |
boolean flag; |
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
prim = 1 | |
ant = 0 | |
c = "*" | |
d = 0 | |
r = int(input("Ingrese el rango a terminar para la sucesión de Fibonacci.")) | |
for i in range(0,r): | |
if d >=1 and d<=4: | |
c+="*" | |
else: | |
d = 0 |
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 <stdio.h> | |
void ingresar(float [][5], int , float [], int ); | |
float promediosfilas(float [], int); | |
void presentar( float); | |
int main() | |
{ | |
float arreglo[5][5]={{'\0'}}, prom, promedio[5]={'\0'}; |
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
using Proyecto_Segundo_Parcial.Model; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Proyecto_Segundo_Parcial.Control | |
{ | |
class AdmBoletos |
NewerOlder