Help us understand the problem. What is going on with this article?

forループの練習問題(数字でピラミッドを作る)  初級〜中級編

More than 3 years have passed since last update.

はじめに

今回はPHPで回答を作成していますが、forループを多くの言語でも使えますので、
使いやすい言語で挑戦してみてください。

練習問題

全部で11問あります。
forループを使用して各問題の解答を作ってください。

回答はリンク先のページにあるので、解き終わったら参照してください。

問題1
1
21
321

問題2
***1
**121
*12321
1234321

問題3
123
456
789

問題4
1
23
456

問題5
987
654
321

問題6
6
54
321

問題7
1
12
123

問題8
123
12
1

問題9
321
32
3

問題10
3
32
321

問題11
112
212
312

解答

下記のリンクに解答を載せております。
http://qiita.com/takuya-kodama/items/903d9ece52bdbfd6553d

さらに難しい問題を解きたい方へ

上級編の問題もあるので是非チャレンジしてみてください!

上級編
http://qiita.com/takuya-kodama/items/5a1dd8da56e7a87ec58f

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした