Question: please answer all 6 questions in c++ language using nested loops. Practice problems on loops and nested loope: Write C++programs to produce the output described
Practice problems on loops and nested loope: Write C++programs to produce the output described in each of the following problems. (1) A triangle of stars (the sser supplies the height): (2) Another triangle of stars (the user supplies the height) 99999e (3) Another triangle of stars (the user supplies the height) 990 (4) A double rectangle of stars (the user supplies height and vidth) (5) A table of povers of 2 (user supplies the mumber) 2 to the pover 0 is1 2 to the pover 1 is 2 2 to the pover 2 is4 2 to the power 3 is 8 (6) A table of factorials (user supplies the number) 11 1.1 21 - 211-2 -4x 3x2x1 -24 1-5x4x32x1 -120
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
