This is my collection of programming pieces that focus on logic programming. I focus on prompts for business applications. These are all done on my own initiative, meaning none have anything to do with grades or certificates during the programming.
ChatGPT created the prompts and data, but I did the programming from start to finish.
Write a Python program to analyze the performance of sales representatives. The program should:
Calculate the total sales for each representative.
Determine the top performer(s) (sales above 90th percentile).
Identify representatives whose sales have decreased month-over-month for two consecutive months.
Provide a summary report.
Design a program to analyze inventory data and suggest items for restocking. The program should:
Identify items below their reorder level.
Suggest restocking quantity based on average monthly sales over the last 3 months.
Flag items that are moving slowly (average monthly sales < 10 units).
Write a program to calculate performance-based bonuses for employees. Bonuses are calculated as follows:
Employees exceeding their target by 20% or more receive a 15% bonus on their base salary.
Employees meeting their target receive a 10% bonus.
Employees below their target but above 80% of the target receive a 5% bonus.
Generate a report showing each employee's bonus and their performance category.
Create a program to adjust product prices based on demand dynamically. The program should:
Increase prices by 10% if demand increases by more than 15% month-over-month.
Decrease prices by 5% if demand drops by more than 10%.
Keep prices unchanged if demand changes are within 10%.
Generate a pricing report for all products.
Design a program to allocate project resources based on skill match and availability. The program should:
Match resources to projects where their skills are required.
Prioritize projects based on urgency and budget.
Ensure no resource is assigned to more than 2 projects at a time.
Generate a final allocation report.
*This was updated in another project*