Computer Science, asked by vaa3, 3 months ago

generate test cases to check the program written for even and odd numbers

Answers

Answered by kandhilal92675
2

Answer:

Question:

Suppose you want to test whether a number is odd or even.

Where T is the test cases. and first line of each test case contains a integer which will be tested.

And finally print whether each input is even or odd ?

Test Case :

So basically test cases means the number of times you will take input to execute your code and to produce the desired output.

Explanation:

hope it is helpful to you

Similar questions