Hello,
I just recently started to learn c++ programming, i'm using Practical C++ Programming book by Steve Oualline. I came across the programming exercise-Write a macro that returns true if its parameter is divisible by 10 and false otherwise. I've written a code but can't figure out what is wrong with it. I also did a google check on the errors but still no luck.

Here's is the code below and also errors associated with it
Code:
#include <iostream>
#define MACR(x) \
{ \
        if(x%10==0) \
    std::cout<<"True"; \
    else \
    std::cout<<"False"; \
}
int main()
{
    int x;// x is the number user inputs to check whether it is divisible or not
    std::cout<<"\nI/P the number: ";
    std::cin>>x;
    std::cout<<"\nis the number divisible by 10: "<<MACR(x);
    return(0);
}
Error log:
14|error: expected primary-expression before '{' token|
14|error: expected ';' before '{' token|
||=== Build finished: 2 errors, 0 warnings ===|

thanks for any help.