About っていうか&っていうの&っていうんだ


Please help me with the following three sentences:

> ①俺が何をしたっていうんだ。  
>  ②一人だから、何だというんだ。  
>  ③彼女の何がダメだっていうの。

All of them are copied from lines of some Japanese drama. I can't figure out
how such structures as っていうか&っていうんだ&っていうの function in those sentences.




>   * 俺が何をしたっていうんだ。  
>  What the heck did I do? (implies "I did nothing wrong.")
>   * 一人だから、何だというんだ。  
>  So what if I am alone? (implies "There is nothing wrong even if I'm
> alone.")
>   * 彼女の何がダメだっていうの。  
>  What the heck is wrong with her? (implies "There is nothing wrong with
> her.")
>

In your examples, ～っていうんだ, ～というんだ, ～っていうの are semantically roughly the same.
They form a rhetoric question that expects "nothing" as an implied answer. って
is a colloquial variation of quotative-と. The の/ん near the end is for [seeking
clarification](https://www.wasabi-jpn.com/japanese-grammar/question-markers/).
いう in this context is 言う, but is like "to mean" or "to think" rather than "to
say out loud".

Even though they share the same meaning, they sound differently depending on
how you end a sentence.

>   * 私が何をしたと言うのですか？ (irritated, but still polite)
>   * 私が何をしたって言うんだ。 (rough, masculine and accusatory)
>   * 私が何をしたと言うのか。 (literary or blunt)
>   * 私が何をしたと言うの。 (casual and relatively feminine)
>

Finally,
[～っていうか](http://jisho.org/word/%E3%81%A3%E3%81%A6%E3%82%86%E3%81%86%E3%81%8B)
is totally irrelevant.

