This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Thursday, 30 October 2014

How to calculate the Discount on the Shirts| Display the shirts cost and Discount price|

#include "stdafx.h" #include <iostream> using namespace std; int main() { float shirts,rate=12,cost,total_price,disc; cout<<"WELCOME TO THE HOME OF C PLUS PLUS"<<endl; cout<<"How many shirts would you like:"<<endl; cin>>shirts; cost=rate*shirts; cout<<"The cost of shirts are:"<<cost<<endl; if(shirts>=5) { disc=(cost*10)/100; cout<<"Discount:"<<disc<<endl; total_price=cost-disc; ...