Paper No: 7
Question 6:
(1 mark, file to be edited: Q6.c)
Your program allows users to enter a string "s" with maximum length of 100 characters.
Find characters with an odd index in the string "s" and convert them to uppercase letters.
Below is an example:
Enter s = "spring semester 2024 - fptu"
spring semester 2024 fptu
OUTPUT:
sPrInG SeMeSter 2024 FpTu
Press any key to continue
Question 7:
(1 mark, file to be edited: Q7.c)
Zoom
+ 100%
Close