Wednesday, October 21, 2020

Display the given number if it is equal to zero in c

 #include <stdio.h>

int main() 

{

    int n;

    printf("Enter a number:");

    scanf("%d", &n);

    if(n==0)

    {

        printf("Number is zero");

    }

}

No comments:

Post a Comment

All Quotes

Quote 55: Your brand grows through authentic achievements. Quote 54: Personal branding is clarity, consistency, and credibility. Quote 53: E...