Your friend said, “If yesterday was tomorrow, today would be Friday.”
On which day did your friend make this statement ?
There are two ways to interpret this.
- If x + 1 == x – 1
x == x – 2
x – 2 = Friday
x = Sunday
- If x – 1 == x + 1
x == x + 2
x + 2 = Friday
x = Wednesday
Option 1) makes sense and hence the answer.
This article is contributed by Mohit Gupta_OMG 😀. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.