Showing posts with label Conversion brings the month and day Program. Show all posts
Showing posts with label Conversion brings the month and day Program. Show all posts

Jan 30, 2013

Conversion brings the month and day Program

/*Conversion brings the month and day Program*/

#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
int Day,Month;
printf("Enter Days");
scanf("%d",&Day);
Month=Day/30;
Day=Day%30;
printf("Month=%d,Day%d",Month,Day);
getch();
}
 

Popular Posts