Your printf and scanf statements should be inside your do-while loop.
Remove the continue from case 'E' and let it be just break. Your compiler should warn you about unreachable code as of now.
This will get your O and E to work fine but there are other things worrying me.
- looping through uninitialized memory
- j should probably be 0 and not 1 in your first for loop in case 'O' but I don't know because I haven't looked closely at what you intend to do with it
- use of meaningless variable names (x should be something like TransactionType so that someone else reading your code can understand at first glance what you intend to communicate)
- comparison of double value to integer
- indentation of code
- lack of understanding of flow of control (please have a look at a reliable source to learn more and grasp the concepts)
- practice writing code in functions other than main and using those functions elsewhere (typically when you have repetitive code, functions are really powerful)
Try and fix these issues starting with indentation, descriptive variable names and control flow issues. Good luck