Paytm interview question

Remove spaces from a string and print it. And,Count vowels in that string.