Skip to content

Instantly share code, notes, and snippets.

View AuroraNorthernQuarter's full-sized avatar

AuroraNorthernQuarter

View GitHub Profile
package testprogramm;
import java.io.*;
public class Kajikimagurokatsu {
public static void main(String[] args) {
}
String keyboardIn(){
String str="";
try{
BufferedReader br = new BufferedReader
(new InputStreamReader(System.in));
package testprogramm;
import java.io.*;
public class Kajikimagurokatsu {
String keyboardIn(){
String str="";
try{
BufferedReader br = new BufferedReader
(new InputStreamReader(System.in));
System.out.println("文字を入力してください。");
str = br.readLine();
package testprogramm;
public class Language {
public Language() {
String hiragana[] = new String[10];
String alphabet[] = new String[10];
hiragana[0] = "あいうえお";
hiragana[1] = "かきくけこ";
hiragana[2] = "さしすせそ";
hiragana[3] = "たちつてと";
package testprogramm;
import java.util.Scanner;
public class Sample {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
while (true) {
package testprogramm;
import java.util.Scanner;
public class Sample {
static void Disp(String[] name, double[] height) {
int n = name.length;
double sum = 0;
for (int i = 0; i < n; i++) {
System.out.println(name[i]);
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("得点を入力してください: ");
// キーボードから整数の入力を受け取る
package testprogramm;
import java.util.Scanner;
public class Sample {
static void Disp(String[] name, double[] height){
int n = name.length;
double sum = 0;
for (int i = 0; i < n; i++) {
System.out.println(name[i] + ":" + height[i] + "cm");
sum = sum + height[i];
package testprogramm;
import java.util.Scanner;
public class Sample {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
while (true) {
package testprogramm;
import java.util.Scanner;
public class Sample {
private static final String yamaguchi = "山口県";
private static final String hyogo = "兵庫県";
private static final String kanagawa = "神奈川県";
public static void main(String[] args) {
System.out.println("都道府県名を入れてください。有名な港をご紹介します。");