Jan 30, 2013

Find The Absolute Value of an Integer Program

/*Find The Absolute Value of an Integer Program*/

#include"stdio.h"
#include"conio.h"
#include"math.h"
void main()
{
clrscr(0;
int n,AbsoluteValue;
printf("Enter the value of n");
scanf("%d",&n);
AbsoluteValue=abs(n);
printf("%d",AbsoluteValue);
getch();
}

No comments:

Post a Comment

Thank you for visit this site. You will get many programming news from here and learn programming very easily.

Popular Posts