// Nurul Liyana bt Mohd Yusof
// A19EC0144
#include <iostream>
using namespace std;

int main()
{
	// constanst price for stock per share
	const double STOCK_PER_SHARE = 35.00;
	
    int stock = 375;
    double stockprice, commission, amount_paid, total_amountpaid;
    
    // calculate the amount for commission
    stockprice = stock * STOCK_PER_SHARE;
    commission = stockprice * 0.025;
    
    // calculate the amount paid for stock alone
    amount_paid = stockprice - commission;
    
    // calculate total amount paid plus commission
    total_amountpaid = stockprice + commission;
    
    cout << "The amount for commission is RM" << commission << endl;
    cout << "The amount paid for stock alone is RM" << amount_paid << endl;
    cout << " The total amount paid is RM" << total_amountpaid  << endl;
    return 0;
}
