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

Everyone Is Fighting a Battle You Can't See ❤️ | A Simple Reminder to Be Kind

 Hi, namaste Krishna. So today we will be talking about that everyone is going through something in their life. Be it you, be it your friend...