A program that read any integer number & display absolute value in Cpp.

#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<math.h>

void main()
{
    int n,a;
    clrscr();
    cout<<"Enter number = ";
    cin>>n;
    a=abs(n);
    cout<<"\nAbsolute("<<n<<") = " <<a;
    getch();
}


////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........