0
Practical project, test case # 1 marked correct but test case #2 is wrong why? Please
Practical project, test case # 1 marked correct but test case #2 is wrong why? Please
5 Respuestas
+ 3
Emmanuel Ackah ,
if you really have a problem, we need some more details from you:
▪︎give a clear and complete description about your task
▪︎if your question is related to an exercise in a tutorial, please mention the tutorial name and the lesson number
▪︎if there are error messages please post them here
▪︎give at least one sample with input data and the expected output
▪︎to be able to find out the issues you have, we need to see your code
=> please put your code in playground, save it there and post a link to it here.
thanks for your understanding!
+ 1
Emmanuel Ackah
Is this the Water Consumption challenge?
If you attach your code, we can see what the problem is and directly help
0
Because your code is not suitable for all situations. Satisfied only a few cases. Consider all the situations where you try to improve your code
0
No the Water Consumption, is the parking fees
0
fun main(args: Array<String>) {
var hours = readLine()!!.toInt()
var total: Double = 0.0
var ans: Double = 5+(13*0.5)
println(ans)
}