Saturday, October 17, 2020

simple c program to half the number

 #include <stdio.h>

int main()

{

    int n;

    printf("Enter n:");

    scanf("%d", &n);

    n = n / 2;

    printf("Answer = %d", n);

    return 0;

}

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...