1. I got A on the math test.

2. I won A on the math test.

(Are both grammatical?)

2 answers

Sorry, I posted them again.

1. I got an A on the math test.
2. I won an A on the math test.
(Are both grammatical?)
Neither sentence in your first post is correct.

In your second post, #1 is correct, but #2 is not.