Skip to content

Instantly share code, notes, and snippets.

@mutsune
Created February 10, 2018 11:04
Show Gist options
  • Save mutsune/850f7c0495740fa833611b3dd6d652cf to your computer and use it in GitHub Desktop.
Save mutsune/850f7c0495740fa833611b3dd6d652cf to your computer and use it in GitHub Desktop.
class Katakana2Hiragana {
public static void main(String args[]) {
System.out.println((char)("ガ".charAt(0) - 'ァ' + 'ぁ') == 'が');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment