Python,C,C++ and JAVA programs for CBSE, ISC, B.Tech and I.T Computer Science and MCA students

The Programming Project: February 2023

Tuesday, February 14, 2023

Python Program Divisibility with 5

Write a python program to print and count all numbers from 0 to n which are divisible by 5 and having none of the digits being repeated.




def checkRepeatingDigits(numb):
    checkString = str(numb)
    flag = True
    for i in range(len(checkString)-1):
        for j in range(i+1,len(checkString)):
            if checkString[i] == checkString[j]:
                flag = False
                break
        if flag == False:
            break
    return(flag)
n = int(input("Enter the limit:"))
counter = 0
for i in range(n):
    numb = i
    if numb % 5 == 0:
        if checkRepeatingDigits(numb) == True:
            counter +=1
            print(numb)
print("Total number of numbers divisible by 5 and having non-repeating characters =",counter)

Friday, February 3, 2023

INCOME TAX CALCULATOR : New Tax Regime FY 2023-24 Onwards


INCOME TAX CALCULATOR - NEW REGIME

CALCULATE YOUR INCOME TAX UNDER NEW REGIME HERE: 

Enter your gross salary in ₹

Enter your total income from other sources (Savings Interest, Dividend, Interest on FDs) in ₹

Enter your total Professional Tax (P.Tax) in ₹


Compare with the Old Tax Regime

Income Tax Slabs & Rates 2023-24

The Finance Minister introduced new tax regime in Union Budget, 2020 wherein there is
 an option for individuals and HUF (Hindu Undivided Family) to pay taxes at lower 
rates without claiming deductions under various sections. 
The following Income Tax slab rates are notified in new tax regime:

Income Tax Slab Tax Rates As Per New Regime 
₹0 - ₹3,00,000  Nil 
₹3,00,000 -  ₹6,00,000      5%  
₹6,00,001 -  ₹9,00,000      ₹15000 + 10% of total income exceeding ₹5,00,000    
₹9,00,001 -  ₹12,00,000     ₹45000 + 15% of total income exceeding ₹7,50,000     
₹12,00,001 - ₹15,00,000     ₹90000 + 20% of total income exceeding ₹12,50,000  
Above        ₹15,00,000     ₹140000 + 30% of total income exceeding ₹15,00,000  
Above rates does not include Surcharge and Cess.
4% Health & Education Cess is applicable on the income tax and applicable surcharge.