はじめに
この実験では、2 つの異なるアプローチを使って、1^2 + 3^2 + 5^2 +... + n^2 の級数の和を求める C++ プログラムを書く方法を学びます。手順を段階的に案内して、プロセスを理解するのを助けます。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
cpp(("C++")) -.-> cpp/StandardLibraryGroup(["Standard Library"])
cpp(("C++")) -.-> cpp/SyntaxandStyleGroup(["Syntax and Style"])
cpp(("C++")) -.-> cpp/ControlFlowGroup(["Control Flow"])
cpp(("C++")) -.-> cpp/IOandFileHandlingGroup(["I/O and File Handling"])
cpp/ControlFlowGroup -.-> cpp/for_loop("For Loop")
cpp/IOandFileHandlingGroup -.-> cpp/output("Output")
cpp/IOandFileHandlingGroup -.-> cpp/user_input("User Input")
cpp/IOandFileHandlingGroup -.-> cpp/files("Files")
cpp/StandardLibraryGroup -.-> cpp/math("Math")
cpp/SyntaxandStyleGroup -.-> cpp/code_formatting("Code Formatting")
subgraph Lab Skills
cpp/for_loop -.-> lab-96194{{"C++ で二乗和を計算する"}}
cpp/output -.-> lab-96194{{"C++ で二乗和を計算する"}}
cpp/user_input -.-> lab-96194{{"C++ で二乗和を計算する"}}
cpp/files -.-> lab-96194{{"C++ で二乗和を計算する"}}
cpp/math -.-> lab-96194{{"C++ で二乗和を計算する"}}
cpp/code_formatting -.-> lab-96194{{"C++ で二乗和を計算する"}}
end