Posts

Python Program to Make a Simple Password Saver

Image
In this example program, we are building a python program to safely store and retrieve the password. It stores passwords in a file. Passwords are totally secured. This program also contains a master password to use the application. Option available in the program is you can get previously-stored password. You can also add your new password. You can also check for all stored usernames. So let's start writing Python Program to build a Simple Password Saver. Note:  This program is not a fully secure program to store your important passwords. This is just an idea to create one, you can make some modifications and suggestions to us via comments.  Algorithm Upon Entry validity of user is checked by a master password, which is currently hardcoded as (rahulkumar). If validated then we enter into an endless while loop which will show you menu to do various things. If validation failed error message will be shown and program exits. we will be store all passwords as key and value pairs. P

Top 5 Programming language need to learn in 2020

Image
Top 5 Programming Languages need to learn in 2020 If you're new to software development. The first question that comes to mind is where to start? This is probably true! There are hundreds of choices. How are you going to discover that this is the language I want to learn? What will be the most appropriate for you, your interests and your professional goals? One of the easiest ways to choose the best programming language to learn in 2020 is to listen to what the market says. Where the technology trend is heading ... What to learn in 2020 1. JavaScript Without Javascript, you cannot think of interactive web pages. That is the main reason JavaScript is so much popular among software developers. Today, it seems impossible to be a software developer without the use of JavaScript. First from the list is JavaScript, it seems impossible to imagine software development without JavaScript. In Stack Overflow 2018 for developers, JavaScript is the most widely used by developers in t

Facts needs to know before investing in Mutual funds in India

Image
In this post, we are learning about the facts that are needed before investing in any mutual funds. First Of All, let's talk about  what is Mutual Funds. Mutual Funds Introduction Mutual Funds  are professionally managed by expert Fund Managers after extensive market research for the benefit of investors. A mutual fund is an inexpensive way for investors to get a full-time professional fund manager to manage their money. WARNING: Mutual funds are a market of risks. Investors should do its own research. There are a few things you need to remember in case of mutual funds in India. SIP/One Time Risk Level NAV (Net Asset Value) Exit Load  Is it good or not? So we will discuss one by one. SIP/One Time This is a type of money investing like how you want to invest the money on a monthly basis or in a single time. According to expert opinion, one who is a beginner in this market should start with SIP because it can work in the fluctuating market. Risk Level There are several levels of the

Tax calculating program in Python

Image
This program is used to calculate tax in the Python programming language. Tax calculating Program in Python 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. Then we are checking for various checks for tax bands. Implementation:  Code #code #Tax calculating program in python #By Rahul Rajput total_income=int(input("Please enter you total income: ")) print("700000") total_saving=int(input("Please enter you total saving: ")) print("50000") tax_exemption_limit=500000 tax_10_percent=750000 tax_20_percent=1000000 tax_30_percent=1250000 total_taxable_income

Second Equation of motion, How to implement using C language

Image
The second equation of motion is used to calculate the displacement of an object under constant acceleration. Algorithm:  Without wasting any of your precious time let's try to understand how the algorithm is implemented. want to check the implementation of the Third equation of motion,   click here. The second equation of motion is s = u*t + 1/2 * a * t * t s: total displacement u: initial velocity t: time taken by the journey a: constant acceleration as you can see in our program we are considering  u=0  if you want you can set initialVelocity variable value as per your choice or you can ask it from user too also acceleration value is 9.8 equal to the gravity of earth. want to check the implementation of the first equation of motion,   click here. In a function  fallingDistance  we have implemented the equation. total_dist = 9.8 * i * i * 1/2 + u * i ; total_dist = (4.9 * i * i) + (u * i); Code: #include // this is the implementation of 2nd equations of motion. void fallingDista

Third Equation of motion, How to implement using C language

Image
The third equation of motion is used to deduce the relation between initial velocity, final velocity, displacement, and acceleration without time. Third equation of motion Algorithm: Without wasting any of your precious time let's try to understand how the algorithm is implemented. want to check the implementation of Second equation of motion , click here. Third equation of motion is v * v = u * u + 2 * a * s s: total displacement u: initial velocity v: final velocity a: constant acceleration In function CalculateDisplacement, we are calculating the value of displacement. want to check the implementation of First equation of motion, click here. as you can see in our program we are considering u=0 if you want you can set initialVelocity variable value as per your choice or you can ask it from user too. Code: #include stdio.h //please make it correct // this is the implementation of 3rd equations of motion. void CalculateDisplacement(float a,float u,float v){ float displacement=

First Equation of motion, How to implement using C language

Image
The first equation of motion is used to calculate the final velocity of an object under constant acceleration. Algorithm:  Without wasting any of your precious time let's try to understand how the algorithm is implemented. The first equation of motion is want to check the implementation of Second equation of motion ,  click here. v = u + a * t u: initial velocity t: time taken by the journey a: constant acceleration as you can see in our program we are considering u=0 if you want you can set initialVelocity variable value as per your choice or you can ask it from user too, accel=5 and timeOfJourney=7. want to check the implementation of the Third equation of motion,   click here. In function, finalVelocityWithConstantAcceleration we have implemented the equation. final_velocity = u * a * i Code: #include // this is the implementation of 1st equations of motion. void finalVelocityWithConstantAcceleration(int accel,float u,int xtime){ float final_velocity=0; printf("Tim