User:Khem Biswakarma

//saleprice.cpp //oct 30 2014 //khem biswa using namespace std int main { double original_price = 0.0; double discount_price 0.0; double sale_price = 0.0;
 * 1) include

cout <<"enter the original price"; cin>>orgnial_price; cout <<"enter the discount rate"; cin>>discount_rate; discount = original_price*discount-rate; sale_price = original_price - discount_rate; cout <<"the discount"<<discount<<endl; cout <<"the sale price"<<sale price<,endl;

system ("pause"); return 0; }