- 1
From programming, carry out the following programs in Dev C ++: Using the if conditional. For students online.
In a certain store, if the purchase is greater than $ 500.00, an invoice will be printed, otherwise without an invoice, determine if the purchase is greater than or equal to 500 and display a message that says ârequires fac
1 Answer
+ 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")