PROGRAMMING:The simplest if else exercise: multiplication or addition?
Read in 2 real numbers from the keyboard, and then enter 1 integer (0 or 1, regardless of illegal input). According to the value of integer is 0 or 1 to determine the product or sum of two real data.
###Input format:
Enter any two real numbers in the first line and 0 or 1 in the second line.
###Output format:
If the input of the second line is 0, the sum of two real numbers in the first line will be output; If the input of the second line is 1, the product of two real numbers in the first line will be output. The output takes two decimal places.
###Input sample 1:
```in
5.8 2
one
```
###Output sample 1:
```out
eleven point six zero
```
###Input sample 2:
```in
5.8 2
0
```
###Output sample 2:
```out
seven point eight zero
```
answer:If there is no answer, please comment
###Input format:
Enter any two real numbers in the first line and 0 or 1 in the second line.
###Output format:
If the input of the second line is 0, the sum of two real numbers in the first line will be output; If the input of the second line is 1, the product of two real numbers in the first line will be output. The output takes two decimal places.
###Input sample 1:
```in
5.8 2
one
```
###Output sample 1:
```out
eleven point six zero
```
###Input sample 2:
```in
5.8 2
0
```
###Output sample 2:
```out
seven point eight zero
```
answer:If there is no answer, please comment