The IOS simulator in my computer doesn't have app store. I want to use the app store to test a program I wrote on my simulator.
Is it possible to install the app store in my simulator?
This is NOT possible
The Simulator does not run ARM code, ONLY x86 code. Unless you have the raw source code from Apple, you won't see the App Store on the Simulator.
The app you write you will be able to test in the Simulator by running it directly from Xcode even if you don't have a developer account. To test your app on an actual device, you will need to be apart of the Apple Developer program.