# Logic

posted by .

Draw a flowchart for a program that reads a date in an 8-digit sequence (month, day, year) and determines if the date is a valid date. ignore leap year. Assume Feb has 28 days, and establish a table of days in a month so that you can access the appropriate month to determine the correct number of days in a month. Extra credit: add a leap year module to the flowchart, so that the flowchart determines when a leap year occurs and changes to allow feb to have 29 days

• Logic -

Help this too!

## Similar Questions

1. ### Math

How can I figure the number of days from one date to another?
2. ### comp. sci. -MB

I cannot find the correct answer in my text book it's unclear. I know it seems like a simple question, but I want to make sure I get it right. In Database Design: The date format is a. DD-MMM-YYYY b. DD/MM/YYYY c. MM/DD/YYYY d. All …

Date of Note March 11, length of note 200 days, Date of discount, June 28. What is the maturity date and the discount period, no leap years, exact days
4. ### math

A partial payment is made on the date(s) indicated. Use the United States Rule to determine the balance due on the note at the date of maturity. (The Effective Date is the date the note was written.) Assume the year is not a leap year. …
5. ### c++ programming

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 …
6. ### Statistics

Each day a local radio station randomly draws a date (without replacement) from a bowl containing all the days in the year. The first person who calls in with their birthday on the date drawn gets a prize. what is the probability that …

Using the dating method, calculate the discount date and the net date. Unless otherwise specified, the net date is 20 days after the discount date: The date of invoice is April 6th, Terms of sale is 2/10, EOM. What is the Discount …
8. ### English

1. A research paper has which of the following aspects in common with an essay?
9. ### c programming , computer science

1-Write a program that determines the day number (1 to 366) in a year for a date that provided as input data. As an example, January 1, 1994, is day 1. December 31, 1994, is day 365. December 31, 1996, is day 366, since 1996 is a leap …
10. ### Java programming

I have hard time doing this any help? Rewrite the definition of the method setdate and the constructor with parameters so that the values of month, day, and year are checked before storing the date into the data members. Add a method

More Similar Questions