// Name: muhammad rafly
// Matric: A19CS5073
// LE2 Programing technique
#include <iostream>

using namespace std;

int main()
{
    	int shares = 750;
    	int price = 35;
    	int stock;
    	float commission;
    	float total;
    	
    	stock = shares * price;
    	cout << "The ammount paid for the stock alone is RM"; 
    	cout << stock << endl;
    	
    	commission = 0.02 * stock;
    	cout << "The ammount of the commision is RM";
    	cout << commission << endl;
    	
    	total = stock * commission;
    	cout << "The total ammount paid is RM";
    	cout << total;
    	return 0;
}
