Skip to content

Latest commit

 

History

History
21 lines (10 loc) · 328 Bytes

File metadata and controls

21 lines (10 loc) · 328 Bytes

ex6 Solution

laptopPrice = int(input())

taxPercentage = int(input())

totalPrice = int((laptopPrice * taxPercentage / 100) + laptopPrice)

print(totalPrice)

ex7 Solution

numberOfYears = int(input())

totalChildren = int(input())

totalSalary = int(400 + (20 * numberOfYears) + (30 * totalChildren))

print(totalSalary)