It's all relative

  • 16
  • Locked
Write a program that reads two paths from the keyboard and displays the relative path between these paths, if it exists. Otherwise, don't display anything. Hint: If you couldn't find the relative path between path1 and path2, then try to find the relative path between path2 and path1.
You can't complete this task, because you're not signed in.
Comments (2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Vadim “迪姆哥”
Level 27 , Kazakhstan
5 November 2022, 17:55
In task condition are mentioned: Hint: If you couldn't find the relative path between path1 and path2, then try to find the relative path between path2 and path1. BUT, when I checked the "Correct solution", found that code didn't implement this hint... Why?
Hiyo Full Stack Developer
31 January, 08:12
Wondering the same... Maybe typo?