I have done this program it is not showing any output

hello @priya_Jain your vector is even empty . nothing is added to vector also .
you should see or dry run your logic once again.