You are inputing the values into the array A, and then assigning the value of the array B into the array A
. You should do the opposite, assigning the value of the array A into the array B! (instead of "A[i] = B[i] it should be "B[i]=A[i]"). And since B is not initialized, you just print some garbage values. Also, not as important, you should check that the user does not input a a number above 100 otherwise you will have an overflow.
Oh and also important, your second for loop should start from "n-1". In fact, you input "n" values that you store in A from 0 to "n-1". So when you reverse you should start at "n-1" and finish at 0, not at 1 (so i > -1 for the exit condition).
And finally, the most important, your algorithm is not reversing the array, just copying it. In fact, doing B[i] = A[i] will give the same array at the end. So you should think about a way to copy the last value of A into the first square of B.