#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("enter numbers of days:");
scanf("%d",&a);
b=a / 30;
c=a % 30;
printf("month:%d",b);
printf("days:%d",c);
getch();
}
#include<conio.h>
void main()
{
int a,b,c;
printf("enter numbers of days:");
scanf("%d",&a);
b=a / 30;
c=a % 30;
printf("month:%d",b);
printf("days:%d",c);
getch();
}
No comments:
Post a Comment