Advertisement
hristo256

Untitled

Jun 24th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. processor = float(input())
  2. processor *= 1.57
  3. video_card = float(input())
  4. video_card *= 1.57
  5. ram = float(input())
  6. ram *= 1.57
  7. number_of_ram_slots = ram * int(input())
  8. discount_percent = float(input())
  9. discount = processor + video_card - (processor + video_card * (discount_percent / 100))
  10. total_price = processor + video_card + ram
  11. print(total_price)
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement