Question: c++ program. Create a Blog class with the following private attributes: authorFirst authorLast content month day year (use appropriate data types). You will also need
c++ program.
Create a Blog class with the following private attributes:
authorFirst
authorLast
content
month
day
year
(use appropriate data types).
You will also need the following public class methods:
a constructor (6 parameters)
setBlog (6 parameters)
getAuthorsFirst
getContent
getMonth
getDay
getYear
print
For the print method, print out the Blog in any reasonable easy to read format.
Also provide a main function that creates at least two instances of Blog and fully tests your class.
Please provide all of the files and output screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
