-->
当前位置:首页 > 题库

PROGRAMMING:Even times 2 odd times 3

Luz5年前 (2021-05-10)题库434
Enter an integer x, if it is even, multiply by 2, otherwise multiply by 3, and then output.
###Input format:
Enter an integer directly without any additional characters.
###Output format:
Output in the order of "y = result" in one line. The result is output as is without other additional formats.
###Input example:
```in
three
```
###Output example:
```out
y=9
```
###Input example:
```
two
```
###Output example:
```
y=4
```






answer:If there is no answer, please comment