subject
Computers and Technology, 09.09.2019 22:10 jen1164

Write a program that reads a string from the keyboard and tests whether it contains a valid date. display the date and a message that indicates whether it is valid. if it is not valid, also display a message explaining why it is not valid. the input date will have the format mm/dd/. a valid month value mm must be from 1 to 12 (january is 1). the day value dd must be from 1 to a value that is appropriate for the given month. september, april, june, and november each have 30 days. february has 28 days except for leap years when it has 29. the remaining months all have 31 days each. a leap year is any year that is divisible by 4 but not divisible by 100 unless it is also divisible by 400.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:00
Jill wants to become a network professional. which certification would be useful for her? a. mcse b. pmp c. comptia a+ d. ccie
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What do character formats do for your document's message? a.set the tone b.provide organization c.provide clarity d.set how texts align with documents
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
You know the right answer?
Write a program that reads a string from the keyboard and tests whether it contains a valid date. di...
Questions
question
Mathematics, 16.10.2020 08:01
question
Mathematics, 16.10.2020 08:01
question
Physics, 16.10.2020 08:01
question
Chemistry, 16.10.2020 08:01