Question 9:
(1 mark, file to be edited: Q9.c)
Your program allows users to enter a string "s" with maximum length of 100 characters.
The system finds and remove all characters in a string except the alphabet characters (a-z, A-Z).
Print the resulting character string to the screen after standardization.
Below is an example:
Enter: s = "@Welcome Spring semester - 2024!"
@Welcome Spring semester 2024!
OUTPUT:Welcome Spring semester Press any key to continue
Question 10:
(1 mark, file to be edited: Q10.c)
Your program allows users to enter a binary number 'n', where 'n' has maximum length 2 bytes.
The program prints the decimal value of 'n'.
+ 100%
Zoom
Close