Aim:-Write Program For Find Number is Absalute or Not in Programming c

Input:-

#include<stdio.h>

int main()

{

    int n;

    

    printf(“enter value in n=”);

    scanf(“%d”,&n);

    

    if(n>0)

    {

        printf(“number is absalute”);

    }

    else

    {

        printf(“number is not absalute”);

    }

    return 0;

}

Output:-

enter value in n=3

number is absalute

Advertisements