
Asked when a greater than 300, a number of * 0.9
When a is less than or equal to 300, direct display a certain number of
At the end of the reserved 2 decimal places
CodePudding user response:
If (300 & lt; A)
{
A1=a * 0.9;
cout}
If (300 & gt;
=a){
A2=a;
cout}