Introduction
In this lab, we will be creating a program in C++ to print a flip pattern of a half pyramid using *
symbol. We will be printing the pattern in such a way that the number of stars in each row starts with the maximum number and then decreases by one in each consecutive row.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
cpp(("`C++`")) -.-> cpp/IOandFileHandlingGroup(["`I/O and File Handling`"])
cpp(("`C++`")) -.-> cpp/SyntaxandStyleGroup(["`Syntax and Style`"])
cpp(("`C++`")) -.-> cpp/BasicsGroup(["`Basics`"])
cpp(("`C++`")) -.-> cpp/ControlFlowGroup(["`Control Flow`"])
cpp/IOandFileHandlingGroup -.-> cpp/output("`Output`")
cpp/SyntaxandStyleGroup -.-> cpp/comments("`Comments`")
cpp/BasicsGroup -.-> cpp/variables("`Variables`")
cpp/IOandFileHandlingGroup -.-> cpp/user_input("`User Input`")
cpp/BasicsGroup -.-> cpp/data_types("`Data Types`")
cpp/BasicsGroup -.-> cpp/operators("`Operators`")
cpp/ControlFlowGroup -.-> cpp/for_loop("`For Loop`")
subgraph Lab Skills
cpp/output -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/comments -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/variables -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/user_input -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/data_types -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/operators -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
cpp/for_loop -.-> lab-96206{{"`Flip Pattern Half Pyramid in C++`"}}
end