+ 2
That's very simple you need to know about if else condition and data types .if you know about if esle then easily u can do it
Write like this
Enter purchase amount
if(purchase amount>500)
Print( "invoice")
Else if(purchase amount>=500)
print("requires fac")
else
Print("Without invoice")