#include "stdafx.h"
#include "iostream"
using namespace std;
//alidoran
int main()
{
int n1, n2, n3, n4;
cout << "Enter three integers: ";
cin >> n1 >> n2 >> n3 >> n4;
int min = n1;
if (n2 < min) min = n2;
if (n3 < min) min = n3;
if (n4 < min) min = n4;
cout << "Their minimum is " << min << endl;
system("pause");
return 0;
}
- ۹۶/۱۱/۱۷