Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  jj.c
Language: C/C++
Code:
#include <stdio.h>
int main(int argc, char *argv[])
{
     int number,a,b,c,d,sum;
     printf("Enter numbern");
     scanf("%d",&number);
     
     a = number%10;
     b = (number%100) -a;
     c = number - (number%100);
     sum = a + b + c;
     d = sum%2;


     if(d == 0){
         printf("sum =%d",sum );
     }
     return 0;
}
          
          
Comments: