Last active
November 3, 2018 13:41
-
-
Save AuroraNorthernQuarter/32e420fa55470972fd651cb7f9dbd27c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testprogramm; | |
import java.util.Scanner; | |
public class Sample { | |
public static void main(String args[]) { | |
Scanner scan = new Scanner(System.in); | |
while (true) { | |
System.out.print("値を入力してください: "); | |
// キーボードから整数の入力を受け取る | |
int score = scan.nextInt(); | |
if (●●●) { | |
《「Language.java」からひらがなを呼び出すコード》 | |
} else if (▲▲▲) { | |
《「Language.java」からアルファベットを呼び出すコード》 | |
break; | |
} else if (■■■) { | |
break; | |
} | |
} | |
scan.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment