You are on page 1of 1

#include <iostream>

#include <fstream>
using namespace std;
int main()
{
int a , max=0 , b ;
ifstream fin("date.in");
fin>>a;
fin>>b;
if(a>b)
max=a;
else
max=b;
fin.close();
ofstream fout("date.out");
fout<<"maximul este "<<max;
fout.close();
return 0;
}

You might also like