Tax calculating program in Python

This program is used to calculate tax in the Python programming language. This Tax calculating algorithm is very in this program we can improve this algorithm a lot. Note: this is a very basic implementation of tax calculation. One should not use this to calculate the real tax to submit in real life, this is just a simulator for practice purposes. Algorithm First, we are asking for user input to get the total income and total saving, then we are checking for total taxable income by reducing savings from total_income....

February 12, 2020 · 2 min · Rahul Rajput

Selection Sort using C language (with every step)

What is selection sorting The selection algorithm sorts an array by repeatedly finding the smallest element (considering increasing or ascending order) from the unsorted part and putting it at the beginning. The algorithm maintains two subarrays in a given group. Subarray that is already sorted. Remaining subarray that is unsorted. At each iteration of selection, the minimum value (with regard to rising order) is sorted from the unsorted subarray and moved to the sorted subframe....

April 27, 2019 · 2 min · Rahul Rajput

TCP Socket Programming in Python (server/client)

Socket Programming in Python What is Socket :  A socket is one end of a two-way communication link between two programs/software running on the network. A socket is bound to a port (also known as process id) number so that the TCP/UDP layer can identify the application that data to be transferred to. What to do? in order to create a server first, we need to create a socket in the program and put this socket into the listen mode....

December 10, 2018 · 3 min · Rahul Rajput