Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- processor = float(input())
- processor *= 1.57
- video_card = float(input())
- video_card *= 1.57
- ram = float(input())
- ram *= 1.57
- number_of_ram_slots = ram * int(input())
- discount_percent = float(input())
- discount = processor + video_card - (processor + video_card * (discount_percent / 100))
- total_price = processor + video_card + ram
- print(total_price)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement