Revision c9820ccf-dcab-4e30-83a1-21f67f55d830 - Code Golf Stack Exchange

# [Japt](https://github.com/ETHproductions/japt), 18 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

 ®ou qÃov
 ò mq'_ q-

[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=rm91IHHDb3YK8iBtcSdfIHEt&input=WwpbIm8iICJuIiAiZSJdClsidCIgInciICJvIl0KWyJ0IiAiaCIgInIiICJlIiAiZSJdClsiZiIgIm8iICJ1IiAiciJdCl0)

Input as an array of character arrays.

Explanation:

 ®ou qÃov 
 ® Ã # For each word in the input:
 ou # Convert the last letter to uppercase
 q # Join to a string
 o # For the last word:
 v # Convert it to lowercase
 # Save as U

 ò mq'_ q- 
 ò # Cut U into pairs of words
 m # For each pair:
 q'_ # Join to a single string with "_" in between
 q- # Join all those strings with "-" between

AltStyle によって変換されたページ (->オリジナル) /