- 1

Write a SPIM program to read a word with vowel and consonants.

Write a SPIM program to read a word with vowel and consonants. Scan the read word, if you find the first occurrence of vowel then read that word from that point and concatenate the remaining part of that word and finally append "AY or ay" at the end of that word depending upon the upper case or the lower case of an input word. Eg. 1: Input: Hello Output: Ellohay Eg. 2: Input: HELLO Output: ELLOHAY

12th May 2020, 6:03 PM
Subhash Kumar
Subhash Kumar - avatar
1 Réponse
0
MIPS language
13th May 2020, 6:48 AM
Subhash Kumar
Subhash Kumar - avatar