C++ Исправьте пожалуйста
#include
#include
using namespace std;
int main()
{
int a,b,c,d,x1,x2;
ifstream input;
ofstream output;
input.open("input.txt");
input >> a;//кол-во мешков
input >> b>>c>>d; //кол-во монет в мешке
output.open("output.txt");
If (b>c)
If (c>d) {output d) {output b) {output
Тем более, что if и If - разные вещи. Как и else и Else...