Skip to content

FizzBuzzプログラムを作成#1

Open
jepe-w wants to merge 3 commits intomainfrom
y-fizzbuzz
Open

FizzBuzzプログラムを作成#1
jepe-w wants to merge 3 commits intomainfrom
y-fizzbuzz

Conversation

@jepe-w
Copy link
Owner

@jepe-w jepe-w commented Feb 29, 2024

No description provided.

end
end

# num = 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このコメント部分の処理は不要ですね。

@@ -0,0 +1,28 @@
num = 0
20.times do
num += 1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全体的にインデントが半角スペース4文字になっていますね。Rubyでは2文字とするのが一般的です。そのように修正をお願いします。

@jepe-w
Copy link
Owner Author

jepe-w commented Mar 4, 2024

いただいた修正点を改善いたしました!

puts num
end
while num <= 20 do
num += 1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この行のインデントがなくなってしまっていますね 😅

@jepe-w
Copy link
Owner Author

jepe-w commented Mar 4, 2024

ご指摘ありがとうございます!
修正いたしました!
ケアレスミス失礼しました🙇‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants