Sample
Sample
DepartmentofComputerScience&Engineering
(BE-CSE/IT-5th Sem)
Assignment Week–1
1. Create a Simple ASP.NET Core Web application that displays the content "Welcome to ASP.NET Core"
in Bold.
2. Relate a Layout page for Employee management portal in MVC with appropriate links in using asp.net .
3. Employee Bonus Calculation
Scenario: You are tasked with creating a bonus calculation system for a company. The
bonus is determined based on the employee's performance rating, years of service, and
whether they are in a managerial position.
Task: Implement a method that calculates the bonus amount based on these conditions:
• Performance rating is between 1 and 5.
• Employees with a rating of 5 get a 20% bonus.
• Employees with a rating of 4 get a 10% bonus.
• Employees with a rating of 3 get a 5% bonus.
• Employees with a rating below 3 get no bonus.
• Employees with more than 10 years of service get an additional 5% bonus.
• Managers get an additional 5% bonus on top of the calculated bonus
4.Implement to Pre-increment and Post Increment program.