@Zaid

rombo

October 14, 2021 · C++
#include <stdio.h>
#include <stdlib.h>
 
int main(void)
{
    printf("  **  ROMBO ASIMETRICO  **\n\n");
    int i, n, j, k, s;
    printf("  Diga cuanto debe medir el lado del rombo:  ");
    scanf(" %d", &n);
    for (i=0; i<n; i++)
    {

HolaMundoC

September 19, 2021 · C++
#include <iostream>

int main() {
    std::cout << "Hola Mundo" << std::endl;
    return 0;
}

HolaC#

September 19, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hola Mundo");
        }
    }
}

Hola_Java

September 19, 2021 · Java
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("Hola Mundo");
    }
}

Hola_Ruby

September 19, 2021 · Ruby
puts "Hola Mundo "

DivisionFactorial-Funciones

January 24, 2021 · C++
#include <iostream>
#include <math.h>
using namespace std;
float n,n2;
void leer(float &n, float &n2);
int factorial(int n);

int main(int argc, char *argv[]) {
	int r;
	leer(n,n2);;
	factorial(n);

CantidadNumRepetidos

December 31, 2020 · C++
#include <iostream>
#include <stdio.h>

using namespace std;
int array[10], i=0, c=0, n=0, buscar=0;
int main()
{
    cout<<"Ingrese cantidad de numeros a ingresar: ";
	cin>>n;
	for(i=0; i<n; i++){
		cout<<i+1<<": ";

lanzamientoFornite

December 31, 2020 · C++
#include <iostream>
#include <cmath>
using namespace std;

int main() {
  int N,X,Y;
  float d1=0,d2=0;
  string p="",g="";
  cin>>N;
  if (N < 2 || N > 4)
    return 0;

impostor

December 31, 2020 · C++
#include <iostream>
#include <string>
using namespace std;

int main() {
  int N,pos,i=1,j=-1,jugador=0;
  string str;
  cin>>N;
  if (N < 2 || N > 9)
    return 0;
  cin.ignore();

Comparardor

December 30, 2020 · C++
#include<iostream>
using namespace std;
int i,n;
double x,y;
int main() {
	cin >> n;
	for (i=1;i<=n;i++) {
		cin >> x>>y;
		if(x>y)
			cout<<x<<endl;
		else if(y>x)

SumaPrimosCantidad

December 30, 2020 · C++
#include <iostream>
using namespace std;
int c,primo,n,i,s=0,cant=0;
int main(int argc, char *argv[]) {
	cin>>n;
	for(i=2; i<=n; i++){
		primo=1;
		c=2;
		while((c<=i/2) && primo){
			if(i%c==0)
				primo=0;

verificarNumCrDec

November 24, 2020 · C++
#include <iostream>
using namespace std;
int x,y;
int main() {
    //std::cout << "Hello world!" << std::endl;
    cin>>x;
    cin>>y;
    /*if(x>y){
        cout<<"decreciente";
    }else{
        cout<<"creciente";

troyoTriangulo

November 19, 2020 · C++
#include <iostream>
using namespace std;

int main(int argc, char *argv[]) {
	
	long int n;
	
	int64_t k;
	
	cin>>n;
	

figura12

November 19, 2020 · C++
#include <iostream>
using namespace std;
double a,b,c,d,superficie;
int main(int argc, char *argv[]) {
	cin>>a;
	cin>>b;
	cin>>c;
	cin>>d;
	superficie = (a+b)*(d+c)-(c*a);
	cout<<"Superficie: "<<superficie;
	return 0;

prom

November 18, 2020 · C++
#include <stdio.h>
#include <math.h>
using namespace std;
	int n1, n2, n3, n4, n5;
	float promedio=0;
int main(int argc, char *argv[])
{
	scanf( "%d", &n1 );
	scanf( "%d", &n2 );
	scanf( "%d", &n3 );
	scanf( "%d", &n4 );

operaciones

November 18, 2020 · C++
#include <iostream>
#include <math.h>
using namespace std;
int a,b,s,r,m,d,mod;
int main(int argc, char *argv[]) {
	cin>>a;
	cin>>b;
	if(0<a && b<pow(10,5)){
			s = a+b;
			r = a-b;
			m = a*b;

pratonesDise├▒oInjection

December 07, 2019 · C++
#include <iostream>
#include <vector>
using namespace std;

//como si fuera la inyectable
class Ilistable{
public:
	virtual void iniciar(string *texto) = 0;
	virtual void terminar(string *texto)= 0;
	virtual void agregarElementos(string *texto, vector<string> lista)= 0;
};

Balanceo parentesis

December 04, 2019 · C++
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;

struct nodo{
      char dato;
      struct nodo *sgte;
};

typedef struct nodo *TPila;

Multimap

October 18, 2019 · C++
#include <iostream> 
#include <map> 
#include <iterator> 

  

using namespace std; 

  

int main()