Learn/C++/C++ Beginner/Architecture & Refactoring/Checkpoint: Architecture/The Pipeline RefactorThe Pipeline RefactorChallenge on lesson: Checkpoint: ArchitectureInstructionsCodeOutputImplement the decomposed pipeline for expense lines "name,amount": parse_amount(line) (double; 0.0 on missing/invalid), is_valid(line) (name non-empty AND amount > 0), and pipeline_total(lines) (sum of valid amounts). Empty list → 0.0.Difficulty: beginnerSubmitPress Submit to check your solution.Back to lesson: Checkpoint: Architecture