Write a program named CheckCredit that prompts users to enter a purchase price for an item.

If the value entered is greater than a credit limit of $8,000, display You have exceeded the credit limit; otherwise, display Approved.

Respuesta :

THIS IS FOR PYTHON

price = float(input('Price: '))

if price > 8000:

   print('You have exceeded the credit limit')

else:

   print('Approved')