All pastes #762995 Raw Edit

Something

public cpp v1 · immutable
·published 2007-11-06 01:52 UTC
rendered paste body
#include <iostream>/* declaramos el prototipo de la funcion */int sumar(int, int);/* la funcion devuelve un dato del tipo int y recibe dos datos *  del tipo int como parametros  */int main(int argc, char** argv){	int a=3;	int b=16;	std::cout<<sumar(a,b)<<std::endl;	return 0;}/* definimos la funcion */int sumar(int primervalor, int segundovalor){	return 	primervalor+segundovalor;}