Source Code
#include<stdio.h> int main () { int months, days ; printf("Enter days\n") ; scanf("%d", &days) ; months = days / 30 ; days = days % 30 ; printf("Months = %d Days = %d", months, days) ; }
Output
0 comments:
Post a Comment