Wednesday
April 16, 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

Java/programming - write a program that determines the number of days in a given...
c++ programming - Solve the following problem. Apply all the steps i.e ...
programming - write a program that determines how many names are on the boy's ...
computer programming - Write a program that simulates the dial of a phone number...
Programming - Write a pseudocode program that asks the user for an integer ...
Programming - Design a program in pseudocode that calculates the amount of money...
Computer Programming - I must write a program using Java that calculates the ...
programming - I am supposed to modify this program so it begins by asking the ...
programming (C#) - Write a console-based program that accepts a user's message ...
programming 2 - Write a program that inputs a word representing a binary number...

Search
Members