###### tags: `實習題目` `大一程設` `東華大學` `東華大學資管系` `基本程式概念` `資管經驗分享` if-else 2 === ## Description 給定一數字n,請找出不大於n的數字中最大的偶數。 ## Input 正整數n ## Output 最大的不超過n的偶數 --- ## Sample Input 1 4 ## Sample Output 1 4 --- ## Sample Input 2 5 ## Sample Output 2 4
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up