Thursday , February 22 2018
Home / c-program / C Program – Given number is Even or Odd

C Program – Given number is Even or Odd

C Program to find given number is Even or Odd.

Even or Odd :

int main(void) 
    int n; 
    printf("Enter any number : "); 
        goto even_number; 
        goto odd_number; 
        printf("Given number is even\n");  
        goto end; 
        printf("Given number is odd\n"); 
        goto end; 
    return 0; 

Enter any number : 10
Given number is even

Enter any number : 7
Given number is odd

Happy Learning 🙂

About chandrashekhar

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,


C Program – Addition of two Matrices Example

C Program to Addition of two Matrices. Addition of two Matrices : Happy Learning 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *