#include <stdio.h>
int main ()
{
int year,days,d;
printf("year?"); scanf("%d",&year);
days = 365*year + (year-1)/4 - (year-1)/100 + (year-1)/400 ;
d=days%7;//to find which day of week
if(d==1)
printf("\n\n\tmonday");
else if(d==2)
printf("\n\n\ttuesday");
else if(d==3)
printf("\n\n\twednesday");
else if(d==4)
printf("\n\n\tthursday");
else if(d==5)
printf("\n\n\tfriday");
else if(d==6)
printf("\n\n\tsaturday");
else if(d==0)
printf("\n\n\tsunday");
return(0);
}
#include
main()
{
int yr, lp_yrs, difference, total_days, day_of_week, weekday;
printf("Enter the year:");
scanf ("%d", &yr);
difference = (yr%100); /*difference between entered year and reference year*/
lp_yrs = (yr%100) / 4; /*no. of leap years between concerned year and reference year*/
total_days = (difference*365) + lp_yrs ;
day_of_week = total_days % 7;
if (day_of_week == 0)
{
printf("The day on Jan 1st of this year is Monday");
}
else if (day_of_week ==1)
{
printf("The day on Jan 1st of this year is Tuesday");
}
else if (day_of_week == 2)
{
printf("The day on Jan 1st of this year is Wednesday");
}
else if (day_of_week == 3)
{
printf("The day on Jan 1st of this year is Thursday");
}
else if (day_of_week ==4)
{
printf("The day on Jan 1st of this year is Friday");
}
else if (day_of_week ==5)
{
printf("The day on Jan 1st of this year is Saturday");
}
else if (day_of_week ==6)
{
printf("The day on Jan 1st of this year is Sunday");
}
}
vasu
There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.There is no standard. Each college and university has a start date particular to itself. However, the approximate start date for most institutions within the United States is around mid January. The college I teach at starts January 22, 2009.
January 29,2012
The blowtorch was invented in France, January 7, 1791
No January Intake is closed now so you can try for May or September Intake.There are 20 Colleges under Students Partners Program (SPP).
the inventor of the tripod stand was golbert mathews in 1850 january 8
1. Chet has 31 days and according to the Gregorian calendar it comes in the months of March-April 2. Vaisakhhas 31 days and according to the Gregorian calendar it comes in the months of April-June 3. Jeth has 31 days and according to the Gregorian calendar it comes in the months of June-July 4. Harh has 31 days and according to the Gregorian calendar it comes in the months of July-August 5. Sawan has 31 days and according to the Gregorian calendar it comes in the months of August-September 6. Bhadon has 30 days and according to the Gregorian calendar it comes in the months of September-October 7. Assu has 30 days and according to the Gregorian calendar it comes in the months of September-October 8. Katak has 30 days and according to the Gregorian it comes in the months of October-November 9. Maghar has 30 days and according to the Gregorian calendar it comes in the months of November-December 10. Poh has 30 days and according to the Gregorian calendar it comes in the months of December-January 11. Magh has 30 days and according to the Gregorian calendar it comes in the months of January-Febuary 12. Phagun has 30/31 days and according to the Gregorian calendar it comes in the months of Febuary-March Gregorian Calendar: Is the calendar that we use for our day to day lives; the calendar that we refer to.
Japan began to use the Gregorian calendar on January 1, 1873.
The Gregorian calendar
First on the gregorian calender.
January 6 in the gregorian calendar, the 19th on a Julian calendar
January 1
1 st January 1752
January 1
the 1st of January
January 1
There are various calendars used around the world now, like the Chinese calendar, but the main one, using the months from January to December is the Gregorian calendar.
The nineteeth century began January 1, 1801 and ended on December 31, 1900, according to the Gregorian Calendar.