Valid Date Flow Chart

 

Use overflow to complete this assignment.

Submit you .flo file on easel.

 

Instructions:

 

Get a day, month, and year from the user.  Record the all as numbers.

Report “valid date” or “invalid date” according to whether or not the date is valid.

 

Months with 30 days: 9, 4, 6, 11

Months with 31: 1, 3, 5, 7, 8, 10, 12

Months with 29: 2 on leap years

Months with 28: 2 on non-leap years

 

Boolean logic notes:

T && T  = T

T && F =  F

F && T = F

F && F = F

 

T || T  = T

T || F =  T

F || T = T

F || F = F

 

T^T = F

T^F = T

F^T=  T

F^F = F

 

If year is (divisible by 4 and not divisible by 100) or it’s divisible by 400 it is a leap year.