Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

プルリク演習#24

Open
AkaishiTakumi wants to merge 4 commits intomain from
Akaishi-exercises
Open

プルリク演習 #24
AkaishiTakumi wants to merge 4 commits intomain from
Akaishi-exercises

Conversation

@AkaishiTakumi
Copy link
Contributor

@AkaishiTakumi AkaishiTakumi commented Aug 19, 2025

No description provided.

forで10回出力するようにした
hello.cppに自分の名前を追加
二つの整数(a,b)を入力しa<bかa>=bを出力する
Copy link
Contributor

@yuma-harada yuma-harada left a comment

Choose a reason for hiding this comment

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

コメントしました!

Comment on lines 10 to 12
if (a < b)
cout << a;
cout << "<" << b << endl;
Copy link
Contributor

@yuma-harada yuma-harada Aug 19, 2025

Choose a reason for hiding this comment

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

{}が不足しているので付けましょう

Suggested change
if (a < b)
cout << a;
cout << "<" << b << endl;
if (a < b) {
cout << a;
cout << "<" << b << endl;
}

elseに対応するifがない問題を{}を書き足して解決
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yuma-harada yuma-harada yuma-harada left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /