Hello, Angie
Thank you for your course
Why an error occurs when I enter 2,5 years instead of 2.5 years BUT at the same time, 30,500 dollars is ok?
Both variables are "double". Then why I can enter 30,500 dollars but no 2,5 years?
Would be great if you can check my code here at https://repl.it/join/xyryefdd-diegotco

Thanks again
Hello, Angie
Thank you for your course
Why an error occurs when I enter 2,5 years instead of 2.5 years BUT at the same time, 30,500 dollars is ok?
Both variables are "double". Then why I can enter 30,500 dollars but no 2,5 years?
Would be great if you can check my code here at https://repl.it/join/xyryefdd-diegotco
Thanks again