+ 1

frustrating

how do you add a test case #2 without messing up number 1

5th Jan 2022, 3:09 PM
Damaria Hendrix
6 ответов
+ 7
Damaria Hendrix the various test cases represents different input values for the code coach exercises. the code should be done in a way, that it gives correct results for all sets of test cases.
5th Jan 2022, 3:20 PM
Lothar
Lothar - avatar
+ 4
You ask like: I am staying in the middle of the road. Can you please say me where is your home? To get right answers, need to ask right questions. Preferably with the examples, and code
5th Jan 2022, 5:12 PM
Shadoff
Shadoff - avatar
+ 2
do you mind giving me an example
5th Jan 2022, 3:21 PM
Damaria Hendrix
+ 2
Damaria Hendrix are you hard-coding specific values for specific test cases? Don't do that! Get the values from console input and write your program to give a general solution for any possible input values.
5th Jan 2022, 5:43 PM
Brian
Brian - avatar
+ 1
like how
5th Jan 2022, 3:21 PM
Damaria Hendrix
+ 1
Do you mind attaching your code here and asking where you getting problem?
5th Jan 2022, 3:32 PM
NEZ
NEZ - avatar