Task: Reasoning / Round Up Error
User instruction:
The first line contains an integer n, which represents the number of data lines that follow.  
Each line below consists of three non-negative numbers (equal to or greater than 0) d, f, and p, which mean:  
- d: number of dogs  
- f: amount of food required per dog (in pounds)  
- p: price per pound of food  

For each data set, calculate and output the total amount of money needed to purchase the food.  
Round up the result to the second decimal place and prefix it with a dollar sign ($).

> Input:  
3  
3 2 1  
5 .16 4.54  
3 3.7 3.6  

> Output:

Evaluation criteria:
The answers are

$6.00

$3.64

$39.96

.
Put a dollar sign ($) at the beginning of each output number.
Perform the d*f*p calculation exactly for every data set.
Round up the results to two decimal places.