プログラミング備忘録

プログラムの勉強をしています。

2017-10-21から1日間の記事一覧

入力した数字からカウントダウンしてみた。

import java.util.Scanner; public class Main { public static void main(String[] args) { // 自分の得意な言語で // Let's チャレンジ!! Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=n;i>=1;i--) { System.out.println(i); }…

お仕事のご依頼はコチラまで。→chabiribon@ksh.biglobe.ne.jp
電話番号→044-571-2441