+ 1
frustrating
how do you add a test case #2 without messing up number 1
6 Antworten
+ 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.
+ 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
+ 2
do you mind giving me an example
+ 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.
+ 1
like how
+ 1
Do you mind attaching your code here and asking where you getting problem?