Question: Design a program in C using either the if/else if/else if//else construct or the switch command which will perform any one of the following four
Design a program in C using either the if/else if/else if//else construct or the switch command which will perform any one of the following four calculations depending on the value of a choice operator: a) the triangular number of a user-specified positive integer number a user-specified number of times if the user selects a value of 1 for the choice operator; b) the factorial of a user-specified positive integer number a user-specified number of times if the user selects a value of 2 for the choice operator; c) the triangular number of a user-specified positive integer number an arbitrary number of times if the user selects a value of 3 for the choice operator; d) the factorial of a user-specified positive integer number an arbitrary number of times if the user selects a value of 4 for the choice operator. Draw a flowchart representing your design.
I need this done in 2 hours please,its urgent.It has to be include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
