[SOLVED] COM1002 Lab 4

30.00 $

Category: Tags: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab-4-boqr24.zip (46.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

Write a C program which reads a sequence of characters from the C character set, unQl the EOF, from stdin and echoes (prints) the characters in the given order considering the specifica;ons below:

1- If the character is a vowel, it needs to be printed in capitalized form.
2- If the character is consonant, it needs to be printed in small form
3- All white space characters need to be eliminated, except for the newlines.
4- All the characters corresponding to a decimal digit, i.e. [0-9] should be eliminated. 5- For the remaining characters, nothing needs to be done, i.e. print as it is.
For example:
for the following input:
Sample Input:

Sample Output:

SuggesQon:

>a B? d 640 uTG% rPWw 4Y5e

>Ab?dUtg%rpwwyE

  • Lab-4-boqr24.zip