Note: We need an author for this blog. Willing people contact Us......

Thursday, 17 November 2016

Dev C++, Example# 2

#include <iostream>
#include <conio.h>
using namespace std;


/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int maximum (int,int,int);
int main( )
{
int a,b,c;
cout<< "Enter your number"<<endl;
cin>>a>>b>>c;
cout << "Maximun is = "<< maximum (a,b,c) <<endl;
return 0;
}

No comments:

Post a Comment

Contact us

Name

Email *

Message *