diff --git a/docs/cpp/chapter-7/problems/max-of-three.md b/docs/cpp/chapter-7/problems/max-of-three.md index 56255285..070a027f 100644 --- a/docs/cpp/chapter-7/problems/max-of-three.md +++ b/docs/cpp/chapter-7/problems/max-of-three.md @@ -14,7 +14,7 @@ using namespace std; int main() { int a, b, c; - cin >> a >> b >> c + cin >> a >> b >> c; cout << max_of_three(a, b, c) << endl; } ``` @@ -80,7 +80,7 @@ int max_of_three(int x, int y, int z) { int main() { int a, b, c; - cin >> a >> b >> c + cin >> a >> b >> c; cout << max_of_three(a, b, c) << endl; } ``` diff --git a/docs/cpp/index.md b/docs/cpp/index.md index 3f2ea512..10a9d96c 100644 --- a/docs/cpp/index.md +++ b/docs/cpp/index.md @@ -56,9 +56,11 @@ hero: - [7.2 引数](/cpp/chapter-7/2) - [7.3 返り値](/cpp/chapter-7/3) - [7.4 [発展] 参照渡し](/cpp/chapter-7/4) + - [練習問題](/cpp/chapter-7/problems/) - [8. 構造体](/cpp/chapter-8/) - [8.1 構造体とは](/cpp/chapter-8/1) - [8.2 メソッド](/cpp/chapter-8/2) + - [練習問題](/cpp/chapter-8/problems/) ::: details 2025年度版テキスト diff --git a/docs/index.md b/docs/index.md index 3f2ea512..10a9d96c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -56,9 +56,11 @@ hero: - [7.2 引数](/cpp/chapter-7/2) - [7.3 返り値](/cpp/chapter-7/3) - [7.4 [発展] 参照渡し](/cpp/chapter-7/4) + - [練習問題](/cpp/chapter-7/problems/) - [8. 構造体](/cpp/chapter-8/) - [8.1 構造体とは](/cpp/chapter-8/1) - [8.2 メソッド](/cpp/chapter-8/2) + - [練習問題](/cpp/chapter-8/problems/) ::: details 2025年度版テキスト