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, 22.06.2019 02:30
Your boss wants you to configure his laptop so that he can access the company network when he is on the road. you suggest a vpn connection to him. he is very concerned about security and asks you how secure vpn is. what do you tell him?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
To add additional commands to the quick access toolbar, a user can navigate to the view. backstage status bar design file
Answers: 2
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
English, 17.07.2019 01:30
question
Mathematics, 17.07.2019 01:30
question
Mathematics, 17.07.2019 01:30
question
Mathematics, 17.07.2019 01:30
Questions on the website: 13722360