// Pantea Aria // Your Turn // if - nested if - logical operators // Ask the user to enter: // The total bill amount (as a decimal), // Whether they have a loyalty card (1 for Yes, 0 for No) // A user gets a discount if: // The bill is over $100.00, or // They have a loyalty card and the bill is over $50.00 // Print whether the user gets a discount or not. #include int main(void) { // The total bill amount (as a decimal), double bill; scanf ("%lf", &bill); // Whether they have a loyalty card (1 for Yes, 0 for No) int loyalty_card; scanf("%d", &loyalty_card); // A user gets a discount if: // The bill is over $100.00, or // They have a loyalty card and the bill is over $50.00 if ( ) return 0; }