Firstly, I think you've got some of your assignment operators mixed. On line 16 and 31 it says: (n>=1 && n>=10) which basically says "if n is bigger than or equal to 10" - completely ignoring n>=1. I assume this is meant to be less than 10?
Secondly, I haven't been programming for too long myself but after a quick search it looks like the exit(1) function is used for closing file streams. although i'm still not sure why it's in there.
Thirdly, std:: ... only needs to be used when you dont have the line usingnamespace std;.
Try re-writing your program and see if you can get it to work. Bare in mind that you will need to use a loop to output "Hello" n amount of times.