J

@Josue21

fecha de nacimiento

C++
6 years ago
#include <iostream> using namespace std; struct Fecha{ int dia,mes,anio; }; int main(){ Fecha hoy, cumpleanios; cout <<"Ingrese la fecha de hoy" <<endl;

datos de 5 personas

C++
6 years ago
#include <iostream> using namespace std; struct persona{ char nombre[15]; char apellido[15]; int edad; char sexo[15]; int telefono; };

tienda de helado

C++
6 years ago
#include <iostream> int main() { int tipo, x; printf: "dame tu monto de tu comprar"; scantf: "x"; printf: "dame tu tipo de membresia"; scantf: "soy tipo a"; if "x" - "tipo a" = 10%;

descuento

C++
6 years ago
#include<stdio.h> #include<stdlib.h> int main() { float d; int i; float iva; int n;

Ahorro

C++
6 years ago
#include<stdio.h> #include<stdlib.h> int main() { float aa; float ad; int i; i = 1; ad = 3;

Fabrica

C++
6 years ago
#ifdef __MSDOS__ #include <iostream.h> #include <stdlib.h> #else #include <iostream> #include <cstdlib> using namespace std; #endif int main (void)

Algoritmo de N cantidades a cero, menor a cero, mayor a cero

C++
6 years ago
#include <iostream> using namespace std; int main() { int i,numero,num,sonCero=0,menores=0,mayores=0; cout << "Cuantos numeros desea procesar: "; cin >> num;

Naufrago

C++
6 years ago
#ifdef __MSDOS__ #include <iostream.h> #include <stdlib.h> #else #include <iostream> #include <cstdlib> using namespace std; #endif int main (void)

Profesor

C++
6 years ago
#ifdef __MSDOS__ #include <iostream.h> #include <stdlib.h> #include <math.h> #else #include <iostream> #include <cstdlib> #include <cmath> using namespace std; #endif

Generar N elementos de una sucesión Fibonacci

C++
6 years ago
/* Programa realizado en c++ */ /* Sucesión de Fibonacci */ /* Josue Arenas */ #include <iostream> #include <cstdlib> #include <stdlib.h> using namespace std; int main()

Números pares 0 a 100

C++
6 years ago
//numeros pares del 0 al 100// #include <iostream> using namespace std; int main() { //metodo principal int n; cin >> n; for(int p=2; p<= 100; p+=2) { cout << p << " ";

Suma de dos Numeros

C++
6 years ago
//Este programa suma dos numeros enteros #include <stdio.h> using namespace std; int main() { int a,b,c; printf("Programa que suma dos numeros \n"); printf("Ingresar el primer numero : \n"); scanf("%d" ,&a);

Suma de dos Numeros

C++
6 years ago
//Este programa suma dos numeros enteros #include <stdio.h> using namespace std; int main() { int a,b,c printf("Programa que suma dos numeros \n"); printf("Ingresar el primer numero : \n"); scanf("%d" ,&a);

Mi Primer Programa

C++
6 years ago
//priemr programa en C++ #include <iostream> using namespace std; int main() { std::cout << "hola soy josue" << std::endl; return 0; }