| imesecan | Dec.15.2012 at 10:23:58 AM
|
| 0 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 10:42:24 AM | |
| 1 | How do you calculate the Average fuel price for 100kms?
|
| imesecan | Dec.15.2012 at 10:43:22 AM | |
| 2 | (Average price per 100kms) = (Average Liter Price) * (Fuel consumption per 100kms)
|
| imesecan | Dec.15.2012 at 10:49:24 AM
|
| 3 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 10:52:42 AM | |
| 4 | I checked the input once more. It seems correct. I think you have problem somewhere.
|
| imesecan | Dec.15.2012 at 11:01:08 AM
|
| 5 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 11:10:36 AM | |
| 6 | There is at least one record.
|
| imesecan | Dec.15.2012 at 11:27:50 AM
|
| 7 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 11:29:44 AM | |
| 8 | You will give two numbers (Fuel consumption per 100kms) and the (Average price per 100kms). They are both float and space separated
|
| imesecan | Dec.15.2012 at 11:31:01 AM
|
| 9 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 11:42:23 AM | |
| 10 | No the precision is calculated like: if (abs(yourCalculatedResult - expectedResult)>0.001) return ERROR;
|
| imesecan | Dec.15.2012 at 12:15:10 PM | |
| 11 | -1 is not count in calculation of the average fuel price.
|
| imesecan | Dec.15.2012 at 12:46:55 PM | |
| 12 | Average fuel price = Total amount paid / total liters bought
|
| imesecan | Dec.15.2012 at 12:58:13 PM
|
| 13 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 01:03:12 PM | |
| 14 | Hello Ardit you have the same problem I think Average liter price = Total amount paid / total liters bought
|
| imesecan | Dec.15.2012 at 04:17:46 PM
|
| 15 | Сообщение скрыто
|
| imesecan | Dec.15.2012 at 04:47:41 PM | |
| 16 | 3, 4 digits
|
| imesecan | Dec.20.2012 at 07:11:25 PM | |
| 17 | Post is deleted
|
| imesecan | Dec.21.2012 at 02:55:24 PM | |
| 18 | For the question on this site, the program uses files. But when you read, you read as if you read from the keyboard (cin in C++ or scanf in C).
And similarly, when showing the results you show as if you show on the screen (cout statement in C++ or printf in C )
|