Showing posts with label Find The Absulate Value of an Integer Program. Show all posts
Showing posts with label Find The Absulate Value of an Integer Program. Show all posts

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();
}

Popular Posts