Program to enter sale value and print the agent’s commission.

Program to enter sale value and print the agent’s commission.
    #include <iostream>
using namespace std;
int main(){
       int a, com;
       cout << "Enter Number" << endl;
       cin >> a;
      
       cout << "Agent commition is" <<( com = a*0.10)<< endl ;



       system("pause");
       return 0;

}

Comments