Taking into account the error message it seems that you are compiling the program as a C++ program. Otherwise the compiler at first would issue a message about the wrong header <iostream>.
If it is a C++ program then there is no need to use functions from the header <stdio.h> that moreover in C++ should be included like 
#include <cstdio>
So I advice to remove the header and to use the standard C++ native I/O functions.
Also instead of braces you enclosed in parentheses the substatement of the if statement.
if (N > 50)
        (if (N > 75)
            N = N - 25;
            N = N - 10;
        )
And it is obvious if N is greater than 75 then it is evident it is greater than 50. So the first if statement also may be removed.
And it is a bad idea to use a capital letter for naming an ordinary variable.
Taking all this into account the program can look like
#include <iostream>
int main()
{
    int n;
    std::cin >> n;
    if ( n > 75 )
    {
            n = n - 25; // or n -= 25;
            n = n - 10; // or n -= 10;
    }
    else
    {
        n = n + 10; // or n += 10;
    }
    std::cout << n << std::endl;
}
If you want to use standard C I/O functions then the program can look like
#include <cstdio>
int main()
{
    int n;
    std::scanf( "%i", &n );
    if ( n > 75 )
    {
            n = n - 25; // or n -= 25;
            n = n - 10; // or n -= 10;
    }
    else
    {
        n = n + 10; // or n += 10;
    }
    std::printf( "%i\n", n );
}
If it is a C program and the header <iostream> is included by mistake then the program can look like
#include <stdio.h>
int main( void )
{
    int n;
    scanf( "%i", &n );
    if ( n > 75 )
    {
            n = n - 25; // or n -= 25;
            n = n - 10; // or n -= 10;
    }
    else
    {
        n = n + 10; // or n += 10;
    }
    printf( "%i\n", n );
}