1. #include "stdafx.h"
#include <math.h>
using namespace System;
#include<iostream>
using std::cout;
using std::cin;
using std::endl;
int ingreso();
int comparacion(double,double,double);
int par(int,char,double,double,double);
void salida(double,double,double,double);
int pa,n1,n2,n3,menor;
char g;
int main(array<System::String ^> ^args)
{
cout<<"tmenor de tres numerosn";
ingreso();
comparacion(n1,n2,n3);
par(pa,g,n1,n2,n3);
salida(n1,n2,n3,menor);
Console::Read();
return 0;
}
int ingreso()
{
cout<<"nIngrese un numero :n";
cin>>n1;
cout<<"nIngrese otro numero :n";
cin>>n2;
cout<<"nIngrese otro numero :n";
cin>>n3;
return n1,n2,n3;
}
int comparacion(double a,double b,double c)
{
if(a<b)
{
if(b<c)
{
menor=a;
}
}
else
{
if(a<c)
{
if(c<b)
{
menor=a;
}
}
}
if(b<c)
{
if(c<a)
{