PROGRAMMING:Inquire about the price of fruit
Given four kinds of fruits, namely apple, pear, orange and grape, the unit price is 3.00 yuan / kg, 2.50 yuan / kg, 4.10 yuan / kg and 10.20 yuan / kg respectively.
First, the following menu is displayed on the screen:
```
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
```
Users can input numbers 1-4 to query the unit price of the corresponding fruit. When the number of continuous queries exceeds 5, the program shall automatically exit the query; Less than 5 times and the user enters 0 to exit; Enter another number to display the price as 0.
###Input format:
Enter a number of numbers in a row that give the user continuous input.
###Output format:
First, the menu is displayed on the screen. Then, corresponding to each input of the user, the query result is output in the format of "price = price" in one line, where the price retains two decimal places. When the user queries more than 5 times, or actively enter 0, the program ends.
###Input sample 1:
```in
3 -1 0 2
```
###Output sample 1:
```out
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
price = 4.10
price = 0.00
```
###Input sample 2:
```
1 2 3 3 4 4 5 6 7 8
```
###Output sample 2:
```
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
price = 3.00
price = 2.50
price = 4.10
price = 4.10
price = 10.20
```
answer:If there is no answer, please comment
First, the following menu is displayed on the screen:
```
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
```
Users can input numbers 1-4 to query the unit price of the corresponding fruit. When the number of continuous queries exceeds 5, the program shall automatically exit the query; Less than 5 times and the user enters 0 to exit; Enter another number to display the price as 0.
###Input format:
Enter a number of numbers in a row that give the user continuous input.
###Output format:
First, the menu is displayed on the screen. Then, corresponding to each input of the user, the query result is output in the format of "price = price" in one line, where the price retains two decimal places. When the user queries more than 5 times, or actively enter 0, the program ends.
###Input sample 1:
```in
3 -1 0 2
```
###Output sample 1:
```out
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
price = 4.10
price = 0.00
```
###Input sample 2:
```
1 2 3 3 4 4 5 6 7 8
```
###Output sample 2:
```
[1] apple
[2] pear
[3] orange
[4] grape
[0] exit
price = 3.00
price = 2.50
price = 4.10
price = 4.10
price = 10.20
```
answer:If there is no answer, please comment