The program must accept a string S containing only alphabets and two integers N, K as the
Question:
The program must accept a string S containing only alphabets and two integers N, K as the input. The program must toggle the case of alphabets starting from the first sliding window of size N based on the following conditions. - lf the number of vowels in a sliding window is greater than or equal to K, then the program must toggle the case of alphabets in the window and move to the next non-overlapping window. Else the program must move to the next sliding window to check vowels. The program must repeat the above process till it reaches the last sliding window or there is no next non-overlapping window. Finally, the program must print the revised string Sas.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill