Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

coding language is C++ Design a class Student. A student has a name and a birthday. Make a vector vector friends; Write a program in

coding language is C++

image text in transcribed Design a class Student. A student has a name and a birthday. Make a vector vector friends; Write a program in which the user is asked to enter a set of names and birthdays, thus populating the friends vector. See input-output for details. After the list of students names and birthdays is read-in, implement a loop in which the user is asked to enter a month followed by a display of all students whose birthday falls into this month. Comment 1. Note that the birthday entered must be in the format mm/dd/yyyy. Comment 2. Note when the user is prompted to enter a month it must be a string, not integers

LHomework_ 5.pdf CSecure https://ccle.ucla.edu/pluginfile.php/2230142/mod_ resource/content/O/Homework 5.pdf an integer Submit the solution as hmw.5.4.cpp. Sample input-output: nter a 1ist of students tudent's nane: Alex Johnson tudent's birthday: 10/01/2000 ontinue (y> y tudent's nane: Lisa Snith tudent's birthday: 11/02/2000 ontinue (y>? y tudent's nane:John Doe tudent's birthday: 10/20/20n0 ontinue tudent nane: David Taylor y)? y tudent' s birthday: 10/12/2000 ontinue (y)? n nter a nonth: October ist of students uho were born in October: lex Johnson 10/01/2000 ohn Doe 10/20/2000 avid Taylor 10/12/2000 ontinue Cy>? y Enter a month: April students uho were born in April ontinue (y>? y nter a month: Honday here is no such nonth. Try again ontinue y)? ress any key to continue.. 46 PM O Type here to search 3/5/2018

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions