![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 24.04.2021 01:50 aniacopenowell7
Complete main() to read dates from input, one date per line. Each date's format must be as follows: March 1, 1990. Any date not following that format is incorrect and should be ignored. Use the substr() function to parse the string and extract the date. The input ends with -1 on a line alone. Output each correct date as: 3/1/1990.
Ex: If the input is:
March 1, 1990
April 2 1995
7/15/20
December 13, 2003
-1
then the output is:
3/1/1990
12/13/2003
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 00:30, jayzelgaspar8005
You are to write a series of steps that anyone could follow to solve the following three problems: 1. even odd a. assume that someone tells you a number (an integer number) b. you hear the number and respond with the word even or odd 2. average a. assume that someone tells you between 3 and 5 numeric values. b. you hear the numbers and respond with the average is some number 3. dog or cat a. explain to a child the differences between a dog and a cat. b. your explanation could be used by a child or anyone to distinguish the difference between a dog and a cat
Answers: 1
You know the right answer?
Complete main() to read dates from input, one date per line. Each date's format must be as follows:...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.02.2021 14:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.02.2021 14:00
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.02.2021 14:00
![Konu](/tpl/images/cats/istoriya.png)
History, 08.02.2021 14:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.02.2021 14:00
![Konu](/tpl/images/cats/health.png)
Health, 08.02.2021 14:00