Question 7:
(1 mark, file to be edited: Q7.c)
Your program allows the user to enter a string: 's' with a maximum length of 100 characters.The program prints the number of characters that are uppercase, lowercase and special characters.
There is a newline character between any two adjacent numbers.
Below is an example:
s = "Welcome To FPTU @2021"
Welcome To FPTU @2021
OUTPUT:
Upper: 6
Lower: 7
Special: 8
Press any key to continue
Question 8:
(1 mark, file to be edited: Q8.c)
Your program allows the user to enter an array of 'n' integers, where 'n' is entered by the user.The program prints duplicate elements that are even numbers to the screen. There is a newline
Close
+ 100%
Zoom