write a program to given two input dates day,month, year and calculate number of days in given dates in c program
Answers
Answered by
0
Explanation:
#include<stdio. h> int main() { int a,b,c,d,e,f,flag=0; printf("Enter first date"); scanf("%d%d%d",&a,&b,&c); printf("Enter second date"); scanf("%d%d%d",&d,&e,&f); const int days[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; while(c!= f||b!=
Similar questions