Skip to content

A compact C++ program to analyze average post likes, most liked post, and least liked post on a Social Media Account

Notifications You must be signed in to change notification settings

SaadARazzaq/PostLikesAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PostLikesAnalyzer 🌐

PostLikeAnalyzer is a simple C++ program that calculates statistics related to post likes on social media platforms. It provides the average number of likes, the most liked post, and the least liked post based on user input.

🌠Features

  • Calculate the average number of likes across all posts.
  • Identify the most liked post and display the number of likes.
  • Identify the least liked post and display the number of likes.

🔥Getting Started

⏮️Prerequisites

To compile and run this program, you need to have a C++ compiler installed on your system.

⚒️How to Use

  1. Clone the repository to your local machine.
   git clone https://github.com/SaadARazzaq/PostLikesAnalyzer.git
  1. Navigate to the project directory.

  2. Compile the code using your C++ compiler.

  3. Run the executable.

  4. Follow the on-screen instructions to enter the number of posts and the number of likes for each post.

  5. The program will display the calculated statistics, including the average post likes, the most liked post, and the least liked post.

Sample Output

image

image

Contribution

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, feel free to create a pull request or open an issue.

License

This project is open for contribution.

About

A compact C++ program to analyze average post likes, most liked post, and least liked post on a Social Media Account

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages