#include <iostream>
using namespace std;
int main()
{
float sum;
cout << "\tEnter the sum of money which client must to pay in $!" << endl;
cin >> sum;
if(sum >= 1000)
cout << "Client gets discount 5%! Pay, please : " << sum-(sum*0.05) << " $";
return 0;
}
Comments