c++ program to calculate discount
/*no:Departmental store offers 2.5% discount on shopping of 20,000
and more Rs. 1.5% discount on shopping of 5000 Rs and more.
and no discount on shopping of less than 5000Rs to those customer who have
membership cards. Design a program that accepts total bill
of buyer and membership card(Y/N) as input and calculates amount to be paid after
applying discount?*/
#include
using namespace std;
int main()
{
float a;
char b;
cout<<"Enter a Total bill=";
cin>>a;
cout<<"Do you a Membership card=";
cin>>b;
if(a>=2000&&b=='y')
{
cout<=5000&&b=='y')
{
cout<
|