2000-01-31から1日間の記事一覧

配列の各要素に先頭から順に 1,2,3,4,5 を代入して表示

明解C言語 入門編 > 5. 配列 > 配列の各要素に先頭から順に 1,2,3,4,5 を代入して表示 Java class Lesson030 { public static void main(String[] args) { int[] score = new int[5]; score[0] = 1; score[1] = 2; score[2] = 3; score[3] = 4; sc…