+ 3

Code coach problem

Why not pass I wrote a new line, what is the problem please tell me. Thanks everyone , I solved this problem!

27th Nov 2020, 7:51 AM
Daulet
11 Answers
+ 2
Can you please give the description of that code coach?
27th Nov 2020, 7:57 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
Zatch bell yes You want to plan your day and create your to do list. Complete the program to take the names of 3 tasks as input and write them down in the file "tasks.txt", each on a new line. The readFile() method is then used to output the tasks. Sample Code Workout Report Pool Sample Output Workout Report Pool Add \n to the end of each line to create a new line.
27th Nov 2020, 8:12 AM
Daulet
+ 2
Daulet.🇰🇿 , can you try to remove "\r" and leave only "\n" in line 34.
27th Nov 2020, 8:34 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Daulet.🇰🇿 , then what is the difference between your output and the expected output?
27th Nov 2020, 8:43 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
TheWh¡teCat 🇧🇬 there are 2 cases, the first one passed 2 no 1) case correct✔️ Workout Report Pool 2) 2 case I can't see
27th Nov 2020, 8:49 AM
Daulet
+ 2
Daulet.🇰🇿 , other thing to consider is that in the description is written "take three tasks as a input", so try to remove the part where you write the tasks in line 15.
27th Nov 2020, 8:54 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
TheWh¡teCat 🇧🇬 Yes, it's works you right thanks!
27th Nov 2020, 9:19 AM
Daulet
+ 2
Daulet.🇰🇿 , you are welcome 🐱
27th Nov 2020, 9:31 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
TheWh¡teCat 🇧🇬 I tried that, it doesn't work.
27th Nov 2020, 8:37 AM
Daulet
0
Operating systems have special characters denoting the start of a new line. For example, in Linux a new line is denoted by “\n”, also called a Line Feed. In Windows, a new line is denoted using “\r\n”, sometimes called a Carriage Return and Line Feed, or CRLF. Adding a new line in Java is as simple as including “\n” , “\r”, or “\r\n” at the end of our string.
28th Nov 2020, 4:02 PM
Arnaldo B. Basterretche
Arnaldo B. Basterretche - avatar
0
//your code goes here yes it worked
8th Mar 2021, 6:15 AM
Abiel M
Abiel M - avatar