Computer Science, asked by twinklegupta7190, 5 hours ago

Consider the program given below for calculating the factorial of a number. It consists of main() program and the module fact(). Draw the control flow graph of the program. Compute the Cyclomatic Complexity for both main() and fact() independently. Also compute the Cyclomatic complexity of the
complete program and find all independent paths.
main(){
int n;
int fact(int);
1. clrscr();
2. cout<< "Enter the number-";
3. cin>>n;
4. if (n<0)
5. cout<<"NA";
6. else
7. cout<<"Factorial is -"<

Answers

Answered by chpraveen
0

Answer:

Agriculture can be called the backbone of India's economic system because two-thirds of the Indian population is engaged in the cultivation of land. Agriculture not only helps to feed the large population, but it also supports the principal manufacturing industries with raw materials.

Similar questions