Wednesday
July 23, 2014

Homework Help: c++ programming

Posted by hafsa on Tuesday, March 20, 2012 at 4:03am.

Write a program that determines the day number (1 to 366) in a year for a date that is provided as input data. As an example, January 1, 2011 is day 1. December 31, 2010 is a day 365. December 31, 2012 is day 366, since 2012 is a leap year. A year is a leap year if it is divisible by four, except that any year divisible by 100 is a leap year only if it is divisible 400. Your program should accept the month, day and year as integers.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Logic - Draw a flowchart for a program that reads a date in an 8-digit sequence...
computer programming - Mr. Dacara owns 20 apartment buildings. Each building ...
programming - Write a program which allows user to enter 10 student names and ...
psychology - My question is about connectionism.I have a program that conctruct ...
Java/programming - write a program that determines the number of days in a given...
computer programming - Write a program that simulates the dial of a phone number...
programming - You are required to design and write an application that will ...
Programming Logic - I need help creating a program to compare the value in input...
Programming - I need help creating a program to compare the value in input[0] ...
c++ programming - Solve the following problem. Apply all the steps i.e ...

Search
Members