Home > Back-end >  C how to determine whether one day is the birthday?
C how to determine whether one day is the birthday?

Time:10-02

For birthdays, and month input date of birth (eight), identifying the birthday

CodePudding user response:

If two equal no

CodePudding user response:

 
#include
Int main () {
Printf (" please enter your birthday: ");
Int a, b, c, a1, b1, c1;
The scanf (" % d on % d % d ", & amp; A, & amp; B, & amp; c);
Printf (" close type do you want to determine whether time is your birthday: ");
The scanf (" % d on % d % d ", & amp; A1, & amp; B1, & amp; C1);
If (a1==a & amp; & B1==b & amp; & C1==c) printf (" is ");
The else printf (" not ");
}

This problem is very naive, simple, their analysis

CodePudding user response:

Forget to add the return 0;
  • Related