// Prueba enupal.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include "conio.h"
#include <string>
#include <math.h>
using namespace std;
int suma(int a, int b)
{
int suma;
suma = a + b;
return suma;
}
void imprimir(int mensaje)
{
cout << "\t*****" << mensaje << "********" << endl;
}
int main()
{
int numeroA, numeroB;
int total;
numeroA = 20;
numeroB = 30;
total = suma(numeroA, numeroB);
int sumaNueva = suma(numeroA, numeroA);
imprimir(total);
imprimir(sumaNueva);
//cout << total << endl;
//cout << sumaNueva;
_getch();
return 0;
}