From: "Drake matthews" Newsgroups: comp.os.msdos.djgpp Subject: c++ program Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Mon, 29 Jan 2001 23:25:19 GMT NNTP-Posting-Host: 142.177.225.131 X-Complaints-To: abuse AT mpoweredpc DOT net X-Trace: sapphire.mtt.net 980810719 142.177.225.131 (Mon, 29 Jan 2001 19:25:19 AST) NNTP-Posting-Date: Mon, 29 Jan 2001 19:25:19 AST Organization: MPowered-Subscriber To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Write a C++ program that asks the user to input a year, a month, and a day; and gives the day of the week for that date, i.e Monday , Tuesday, etc. Basically, the input data is put in the equation (year + year/4 + date of month + factor for month) / 7