#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int n,a;
clrscr();
printf("Enter number = ");
scanf("%d",&n);
a=abs(n);
printf("\nAbsolute(%d) = %d",n,a);
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........