#include <stdio.h>
#include<conio.h>
void main()
{
int a,month, days;
clrscr();
printf("Enter the number");
scanf("%d",&days);
month=days/30;
days= days%30;
printf("month=%d days=%d\n",month,days);
getch();
}
Download the Program from Here
#include<conio.h>
void main()
{
int a,month, days;
clrscr();
printf("Enter the number");
scanf("%d",&days);
month=days/30;
days= days%30;
printf("month=%d days=%d\n",month,days);
getch();
}
Download the Program from Here
No comments:
Post a Comment