Compute the McCabe Cyclomatic Complexity of the said program. Interpret the computed value of this coding cus_id=[] cus_name=[] gen=[] mob_num=[] amount=[] for i in range(50):...


Compute the McCabe Cyclomatic Complexity of the said program. Interpret the computed value of this coding


cus_id=[]


cus_name=[]


gen=[]


mob_num=[]


amount=[]




for i in range(50):


    cus_id.append(int(input("Enter Customer id")))


    cus_name.append(input("Enter customer name"))


    gen.append(input("Enter customer gender M/F"))


    mob_num.append(int(input("Enter the mobile number")))


    amount.append(int(input("Enter amount payable")))



print("Total Number of Male customers",gen.count("M"))


print("Total Number of Female customers",gen.count("F"))



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here