1.

Write a program to accept a string and do the following. a) Count number of consonants. b) Replace all uppercase vowels with „$‟ c) Remove all spaces from the string d) Interchange the first and last letter of each word in the string Print all the details as per above process.

Answer» ONG>ANSWER:

CLS

INPUT "what is your name",I

Print "HI"I"how are you?"

END



Discussion

No Comment Found