CPP 05 PDF
CPP 05 PDF
CPP 05 PDF
The price P of an item is passed as the input. The program must print the value of P, formatting it up
to 2 places after decimal point. The output of the program must be "The price is P"
Example Input/Output 1:
Input:
24.5912
Output:
Example Input/Output 2:
Input:
34.1754
Output:
Input:
34.1754
Expected Output:
The price is 34.18