Asking A Question

can i build and upload an ios app to appstore using a Windows PC

No. It’s the one thing you can’t do in Windows because it requires tools included with XCode. If you don’t have a Mac, it should be in theory possible to do 99% of your development on Windows and then buy some time on a Mac with a service like MacInCloud just for the part where you upload the IPA file to the App Store.