delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/29/18:36:28

From: "Drake matthews" <cyberdrake AT icrazy DOT com>
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: <zZmd6.276$dG3.57703@sapphire.mtt.net>
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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019