acc.

ἔστι τὸ πῶς ἔχοντα πράττειν ἕκαστα ὥστ᾽ εἶναι ἀγαθόν.

What kind of acc. is this?

Which one? ἕκαστα seems to be the direct object of the articular infinitive τὸ πράττειν
and is modified further by πῶς ἔχοντα.

I was thinking about ἔχοντα.