WHY ISN"T IT C!?

Which line of code will only allow a non-decimal point to be stored in a variable?


a. candyCost = float(input("How much is the candy?"))

b. candyCost = input("How much is the candy?")

c. candyCost = int(input("How much is the candy?"))

d. candyCost = str(input("How much is the candy?"))