Question: Below is a partial program for a web app where a user can input two positive integer values and system will display a statement to

Below is a partial program for a web app where a user can input two positive integer values and system will display a statement to the user. The program does the following read price, 1 discountrate = 0.5 2 if price > 200 y n 3 price * print "No discount" discountrate 4 print " Thank you for shopping" a) Identify and write ALL the valid and invalid equivalence class partitioning for the above program that cover all the program specifications. b) Calculate the cyclomatic complexity and write the independent paths for the program above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
