- 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

22nd Oct 2021, 9:08 PM
diego tlaseca
diego tlaseca - avatar
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")
23rd Oct 2021, 4:32 AM
A S Raghuvanshi
A S Raghuvanshi - avatar