# data[].attributes.body
#include<iostream>

using namespace std;

int main()
{
float priceItem1 , priceItem2 , totalPrice , discount ,nettPrice;

cout<<"Please enter the price for the first item = RM";
cin>>priceItem1;

cout<<"Please enter the price for the second item = RM";
cin>>priceItem2;

totalPrice = priceItem1 + priceItem2;

discount = totalPrice * 0.2;

nettPrice = totalPrice - discount;

cout<<"Nett Price is RM "<<nettPrice;

return 0;
}

# data[].attributes.body
#include <iostream>
using namespace std;

int main()
{
float priceItem1,priceItem2,totalPrice,discount,nettPrice;

cout<<"Enter the price of item 1 = RM";
cin>>priceItem1;

cout<<"Enter the price of item 2 = RM";
cin>>priceItem2;

totalPrice=priceItem1+priceItem2;
discount=0.2*totalPrice;
nettPrice=totalPrice-discount;

cout<<"nett price = RM";
cout<<nettPrice;

return 0;

}

# data[].attributes.body
01101010110101010101000001010101010010101001100001010111001010100100110010010111010101101010110010101011001010101011010110100110101001010101001001011010001011100011101001111100001110010100100101001010110010101000101100100101010101100101101010101010100001001101101101001001011110101010110100101010001110010111001100110010110101010100101010101000111001010110110101011001101010101100110100110010101011110100011101011011011011010100010010010010101010110101010100101010101010101011101101011000011110011101100011001110110101101011001101011010100010010010011011001101010

# data[].attributes.body
#include <iostream>
using namespace std;
int main()
{
float priceitem1,priceitem2,totalPrice,discount,nettPrice;

cout<<" Enter price 1 = RM";
cin>>priceitem1;
cout<<" Enter price 2 = RM";
cin>>priceitem2;

totalPrice=priceitem1+priceitem2;
discount=0.2*totalPrice;
nettPrice=totalPrice-discount;

cout<<" Price is = RM"<<nettPrice;
return 0;
}

# data[].attributes.body
#include <iostream>

using namespace std;

int main()

{

float priceitem1,priceitem2,totalprice,discount,nettprice;

cout<<"Enter your price item 1 = RM";
cin>>priceitem1;

cout<<"Enter your price item 2 = RM";
cin>>priceitem2;

totalprice=priceitem1+priceitem2;
discount=0.2*totalprice;
nettprice=totalprice-discount;

cout<<"Your total price you need to pay is RM";
cout<<nettprice;

return 0;

}

# data[].attributes.body
#include<iostream>
using namespace std;

int main()
{
float priceitem1,priceitem2,discount,nettprice,totalprice;
cout<<"Please enter priceitem1";
cin>>priceitem1;
cout<<"Please enter price item2";
cin>>priceitem2;
totalprice=priceitem1+priceitem2;
discount=0.2*totalprice;
nettprice=totalprice-discount;
cout<<"nettprice";
cout<<nettprice;
return 0;
}

# data[].attributes.body
#include <iostream>
using namespace std;

int main()
{
float priceItem1,priceItem2,totalPrice,discount,nettPrice;

cout<<"Enter the price of item 1 = RM";
cin>>priceItem1;

cout<<"Enter the price of item 2 = RM";
cin>>priceItem2;

totalPrice=priceItem1+priceItem2;
discount=0.2*totalPrice;
nettPrice=totalPrice-discount;

cout<<"nett price = RM";
cout<<nettPrice;

return 0;

}

# data[].attributes.body
#include<iostream>
using namespace std;
int main()
{
float priceItem1,priceItem2,totalprice,discount=0.2,nettprice,discountprice;

cout<<"enter the price of the first item RM";
cin>>priceItem1;
cout<<"enter the price of the second item RM";
cin>>priceItem2;
cout<<"the total price of both of your items are RM";
totalprice=priceItem1+priceItem2;
cout<<totalprice;
cout<<" the discount price from your total price is RM"<<endl;
discountprice=totalprice*discount;
cout<<discountprice;
cout<<" which means the net price of your shopping today is RM";
nettprice=totalprice-discountprice;
cout<<nettprice;

return 0;
}

# data[].attributes.body
#include<iostream>

using namespace std;

int main()
{
float priceitem1,priceitem2,totalprice,netprice,discount;

cout<<"ENTER PRICE ITEM 1 :";
cin>>priceitem1;

cout<<"ENTER PRICE ITEM 2 :";
cin>>priceitem2;

totalprice=priceitem1+priceitem2;

discount=0.2*totalprice;

netprice=(totalprice)-(discount);
cout<<netprice;

return 0;

}

# data[].attributes.body
#include<iostream>

using namespace std;

int main ()
{
float priceitem1,priceitem2,totalprice,discount,nettprice;

cout << "insert your price item 1 = RM" ;
cin >> priceitem1 ;
cout << "insert your price item 2 = RM" ;
cin >> priceitem2 ;
totalprice = (priceitem1)+(priceitem2);
discount = 0.2 * totalprice ;
nettprice = totalprice - discount ;
cout << "price afer discount = RM" ;
cout << nettprice ;

return 0 ;

# data[].attributes.body
#include <iostream>

using namespace std;

int main()
{
float price1,price2,totalprice,discount,nettprice;
cout<<"please enter price1=RM";
cin>>price1;
cout<<"please enter price2=RM";
cin>>price2;
totalprice=price1+price2;
discount=0.2*totalprice;
nettprice=totalprice-discount;
cout<<"nettprice=RM";
cout<<nettprice;
return 0;

}

# data[].attributes.body
#include <iostream>

using namespace std;

int main()
{
float priceItem_1,priceItem_2,totalprice,discount,nettprice;

cout<<"Enter price item1: RM ";
cin>>priceItem_1;
cout<<"Enter price item2: RM ";
cin>>priceItem_2;

totalprice=priceItem_1+priceItem_2;
discount=0.2*totalprice;
nettprice=totalprice-discount;

cout<<"Nett Price: RM "<<nettprice;

return 0;
}

# data[].attributes.body
#include <iostream>

using namespace std;

int main()
{
float priceItem1,priceItem2,totalPrice,discount,nettPrice;

cout<<"enter price item 1=RM";
cin>>priceItem1;

cout<<"enter price item 2=RM";
cin>>priceItem2;

totalPrice=priceItem1+priceItem2;

discount=0.2*totalPrice;

nettPrice=totalPrice-discount;
cout<<"the nettPrice is=RM";
cout<<nettPrice;

return 0;
}

# data[].attributes.body
#include <iostream>

using namespace std;

int main()

{
float priceItem1,priceItem2,discount,totalPrice,nettPrice;

cout<<"Please enter price item 1 = RM ";
cin>>priceItem1;

cout<<"Please enter price item 2 = RM ";
cin>>priceItem2;

totalPrice = priceItem1 + priceItem2;
discount = 0.2 * totalPrice;
nettPrice = totalPrice - discount;

cout<<"Net price = RM ";
cout<<nettPrice;

return 0;
}

# data[].attributes.body
#include <iostream>
using namespace std;

int main()
{
float priceitem1,priceitem2,totalprice,discount,nettprice;
cout<<"Enter the price of the item 1 = RM ";
cin>>priceitem1;

cout<<"Enter the price of the item 2 = RM ";
cin>>priceitem2;

totalprice = priceitem1+priceitem2;
discount = totalprice*0.2;
nettprice = totalprice-discount;
cout<<"Nettprice = RM ";
cout<<nettprice;

return 0;

}

# data[].attributes.body
#include<iostream>
using namespace std;
int main()

{
float priceitem1,priceitem2,netPrice,totalPrice,discount;

cout<<"Enter price 1 = RM ";
cin>>priceitem1;

cout<<"Enter price 2 = RM ";
cin>>priceitem2;

totalPrice=priceitem1+priceitem2;
discount=0.2*totalPrice;
netPrice=totalPrice-discount;

cout<<"The price is = RM ";
cout<<netPrice<<"\n";
system("pause");

return 0;

}

# data[].attributes.body
#include<iostream>
using namespace std;
int main()
{
float priceitem1,priceitem2,total,discount,netprice;

cout<<"Enter the price of first item RM ";
cin>>priceitem1;
cout<<"Enter the price of second item RM ";
cin>>priceitem2;

total=priceitem1+priceitem2;
discount=0.2*total;
netprice=total-discount;

cout<<"The total price is RM "<<netprice;

return 0;
}