Program To Find Minimum of the given two number in C++
CodeBlocks is Used
#include <iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
int main()
{
system("cls");
int n1,n2;
cout<<"Enter Your 1 Number : ";
cin>>n1;
cout<<"Enter Your 2 Number : ";
cin>>n2;
if(n1<n2)
{
cout<<endl<<n1<<" is Minimum";
}
else
{
cout<<endl<<n2<<" is Minimum";
}
getch();
return 0;
}
Output::
You Can Download This Program From Here
Download Executable From Here
Comments
Post a Comment