Skip to content

program that analyzes the count of active military forces in Sri Lanka, we can use an API or predefined data source that provides information on the military and security forces. For this example, I will assume we can use hypothetical API endpoints that provide this data.

Notifications You must be signed in to change notification settings

chamikamunithunga/population-of-sri-lanka

Repository files navigation

#population of sri lanka

Sri Lanka Population Data Application

Screenshot 2024-10-14 at 5 50 23 PM

Screenshot 2024-10-14 at 5 53 47 PM

This application provides population statistics for Sri Lanka, allowing users to query the number of people above and below 18 years of age.

Table of Contents

Features

  • Displays the total population of Sri Lanka.
  • Provides data on the number of individuals above and below 18 years of age.

Technologies Used

  • Python: The programming language used for backend development.
  • Flask: A lightweight WSGI web application framework for Python.
  • HTML/CSS: For front-end development and styling.

Explanation:

The program prompts the user to enter the basic salary and the number of overtime hours.

It calculates the allowance based on the overtime hours:

Overtime hours ≥ 30: 20% of the basic salary.

20 ≤ Overtime hours < 30: 10% of the basic salary.

10 ≤ Overtime hours < 20: 5% of the basic salary.

Overtime hours < 10: No allowance.

The net salary is calculated as: Net Salary = Basic Salary + Allowance.

Finally, the program displays the calculated net salary.

2#

sri-lanka-army-soldiers-1

program that analyzes the count of active military forces in Sri Lanka, we can use an API or predefined data source that provides information on the military and security forces. For this example, I will assume we can use hypothetical API endpoints that provide this data.

About

program that analyzes the count of active military forces in Sri Lanka, we can use an API or predefined data source that provides information on the military and security forces. For this example, I will assume we can use hypothetical API endpoints that provide this data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published