Program to Find the absolute value of an integer taken as input.



/* absolute.c */
/* Find the absolute value of an integer taken as input. */

#include

int main(void)
{
int num;

printf("\nEnter a number : ");
scanf("%d" ,&num);

if(num <>

No comments:

Post a Comment