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

Self-Respect vs. Ego ❤️ | Learning When to Give, Let Go & Choose Solitude ✨

  https://youtube.com/shorts/1GJpFnKyU88 So, I think I learned the difference between the self-respect and the ego in terms of making effort...