Assignment Chef icon Assignment Chef

[Solved] COMP2540 Assignment1 -A program for storing Facebook posts

5.0 1 customer review Digital download

Digital download

$25.00

Availability
In stock
Checkout
One item

Need a hand?

Message us on WhatsApp for payment or download support.

WhatsApp QR code
Write a computer program that allows the user to store information about Facebook posts. For each post, the user wants to store the number of likes and the number of comments the post received. The name of the post owner (facebook account name), the size of the post (number of characters in the post), and the date of the post. The date could be string (e.g. 2017_05_22 ) or a number (e.g. 20170522). When the program executes it should ask the user to select one of the following options
  1. Display the stored posts
  2. Display the first post with a given attribute value (e.g post author = John)
  3. Display the current total number of stored posts
  4. Store the data of a new post. (note that all the attributes are required and can not be null)
  5. Delete a post by one the following options (post date, post author).
  6. Delete all the stored
  7. Sort the post based on one of the following post attributes ( number of likes, number of comments, date, or post size)
  8. Exit Notes: