Which one(s) amongst the following sentences are correct, and which one sounds the best?
- "I do X if Y, and Z otherwise"
- "I do X if Y, or Z otherwise"
Which one(s) amongst the following sentences are correct, and which one sounds the best?
To answer your question directly and literally as written, I suggest the second sentence sounds the best.
I do X if Y, or Z otherwise.
My reasoning is more based in logic than grammar. The choices are an "either/or" proposition (i.e., mutually exclusive) and not a "both/and" proposition.
Source: Native speaker
"Otherwise" is a conjunctive adverb, so an additional coordinating conjunction ("and", "or") is not needed. Replace the coordinating conjunction with a semicolon.
If X, I do Y; otherwise, I do Z.
You can also use two separate sentences.
If X, I do Y. Otherwise, I do Z.