Question: Using C++ Problem 4: Write a program (40 points) program that gives valentines (with messages, entered by the user) to two people (names of the

 Using C++ Problem 4: Write a program (40 points) program that

Using C++

Problem 4: Write a program (40 points) program that gives valentines (with messages, entered by the user) to two people (names of the ames of the people should also be entered by the user). A person does not accept s with the same messages (see sample run) and the program should continue running until exit is entered. Notes: You should create a Valentine class and Person class (feel free to create any other classes you might find useful). + O points if you do put most of the functionality in the classes created or if you code everything in main. Don't forget to indent. Possible Sample Run: Who does this mailbox belong to? Give a valentine? Karl yes Who does this mailbox belong to? Write a message: Andre Message1 Give to first person(1) or second person (2)? Give a valentine? yes Andre currently has 1 valentine(s)! Write a message: Message 1 Give a valentine? Give to first person(1) or second person (2) exit Exiting... Karl currently has 1 valentine(s)! while (answer != exit, I Give a valentine? & sive - Valentine (); yes if langwer! a exit) Write a message: { cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!